Home | History | Annotate | Download | only in eigen2

Lines Matching full:rows

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