Lines Matching full:rows

48   const int rows = ref.rows();  in sparse_basic()  local
53 double density = std::max(8./(rows*cols), 0.01); in sparse_basic()
58 SparseMatrixType m(rows, cols); in sparse_basic()
59 DenseMatrix refMat = DenseMatrix::Zero(rows, cols); in sparse_basic()
60 DenseVector vec1 = DenseVector::Random(rows); in sparse_basic()
88 int i = ei_random<int>(0,rows-1); in sparse_basic()
90 int h = ei_random<int>(1,rows-i-1); in sparse_basic()
117 for(int r=0; r<rows; r++) in sparse_basic()
167 DenseMatrix m1(rows,cols); in sparse_basic()
169 SparseMatrixType m2(rows,cols); in sparse_basic()
173 for (int k=0; k<rows/2; ++k) in sparse_basic()
175 int i = ei_random<int>(0,rows-1); in sparse_basic()
186 SparseMatrixType m1(rows,cols), m2(rows,cols); in sparse_basic()
187 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows); in sparse_basic()
202 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows); in sparse_basic()
203 DenseMatrix refM2 = DenseMatrix::Zero(rows, rows); in sparse_basic()
204 DenseMatrix refM3 = DenseMatrix::Zero(rows, rows); in sparse_basic()
205 DenseMatrix refM4 = DenseMatrix::Zero(rows, rows); in sparse_basic()
206 SparseMatrixType m1(rows, rows); in sparse_basic()
207 SparseMatrixType m2(rows, rows); in sparse_basic()
208 SparseMatrixType m3(rows, rows); in sparse_basic()
209 SparseMatrixType m4(rows, rows); in sparse_basic()
236 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); in sparse_basic()
237 SparseMatrixType m2(rows, rows); in sparse_basic()
239 int j0 = ei_random(0,rows-1); in sparse_basic()
240 int j1 = ei_random(0,rows-1); in sparse_basic()
250 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); in sparse_basic()
251 SparseMatrixType m2(rows, rows); in sparse_basic()
253 int j0 = ei_random(0,rows-2); in sparse_basic()
254 int j1 = ei_random(0,rows-2); in sparse_basic()
255 int n0 = ei_random<int>(1,rows-std::max(j0,j1)); in sparse_basic()
256 VERIFY_IS_APPROX(m2.innerVectors(j0,n0), refMat2.block(0,j0,rows,n0)); in sparse_basic()
258 refMat2.block(0,j0,rows,n0)+refMat2.block(0,j1,rows,n0)); in sparse_basic()
260 //refMat2.block(0,j0,rows,n0) = refMat2.block(0,j0,rows,n0) + refMat2.block(0,j1,rows,n0); in sparse_basic()
265 DenseMatrix refMat2 = DenseMatrix::Zero(rows, rows); in sparse_basic()
266 SparseMatrixType m2(rows, rows); in sparse_basic()
274 SparseMatrixType m2(rows, rows); in sparse_basic()
275 DenseMatrix refM2(rows, rows); in sparse_basic()