Lines Matching full:rows
12 template<typename Scalar> void sparse_vector(int rows, int cols)
14 double densityMat = std::max(8./(rows*cols), 0.01);
15 double densityVec = std::max(8./float(rows), 0.1);
22 SparseMatrixType m1(rows,cols);
23 SparseVectorType v1(rows), v2(rows), v3(rows);
24 DenseMatrix refM1 = DenseMatrix::Zero(rows, cols);
25 DenseVector refV1 = DenseVector::Random(rows),
26 refV2 = DenseVector::Random(rows),
27 refV3 = DenseVector::Random(rows);