Home | History | Annotate | Download | only in test

Lines Matching refs:cols

18   const Index cols = ref.cols();
22 double density = (std::max)(8./(rows*cols), 0.01);
27 SparseMatrixType m(rows, cols);
28 DenseMatrix refMat = DenseMatrix::Zero(rows, cols);
56 int j = internal::random<int>(0,cols-1);
58 int w = internal::random<int>(1,cols-j-1);
80 for(int c=0; c<cols; c++)
95 DenseMatrix m1(rows,cols);
97 SparseMatrixType m2(rows,cols);
100 for (int j=0; j<cols; ++j)
115 DenseMatrix m1(rows,cols);
117 SparseMatrixType m2(rows,cols);
120 for (int k=0; k<rows*cols; ++k)
123 int j = internal::random<int>(0,cols-1);
139 DenseMatrix m1(rows,cols);
141 SparseMatrixType m2(rows,cols);
144 for (int k=0; k<rows*cols; ++k)
147 int j = internal::random<int>(0,cols-1);
259 VERIFY_IS_APPROX(m2.innerVectors(j0,n0), refMat2.block(j0,0,n0,cols));
264 refMat2.block(j0,0,n0,cols)+refMat2.block(j1,0,n0,cols));
317 int ntriplets = rows*cols;
319 DenseMatrix refMat(rows,cols);
324 int c = internal::random<int>(0,cols-1);
329 SparseMatrixType m(rows,cols);