Home | History | Annotate | Download | only in bench

Lines Matching defs:DENSITY

15 #ifndef DENSITY
16 #define DENSITY 0.01
44 void fillSpdMatrix(float density, int rows, int cols, EigenSparseSelfAdjointMatrix& dst)
46 dst.startFill(rows*cols*density);
52 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
81 float density = DENSITY;
89 //for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
90 // float density = 0.5;
94 fillSpdMatrix(density, rows, cols, sm1);
102 std::cout << "Eigen Dense\t" << density*100 << "%\n";