Lines Matching refs:density
11 #ifndef DENSITY
12 #define DENSITY 0.01
40 void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst)
42 dst.startFill(rows*cols*density);
47 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
60 float density = DENSITY;
70 for (float density = DENSITY; density>=MINDENSITY; density*=0.5)
73 fillMatrix(density, rows, cols, sm1);
80 std::cout << "Eigen Dense\t" << density*100 << "%\n";
98 std::cout << "Eigen sparse\t" << density*100 << "%\n";
125 std::cout << "CSparse \t" << density*100 << "%\n";
137 std::cout << "GMM++ sparse\t" << density*100 << "%\n";
162 std::cout << "MTL4\t" << density*100 << "%\n";