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