Searched refs:refMat1 (Results 1 – 1 of 1) sorted by relevance
/external/eigen/test/ |
D | sparse_basic.cpp | 504 DenseMatrix refMat1 = DenseMatrix::Zero(rows, cols); in sparse_basic() local 505 initSparse<Scalar>(density, refMat1, m1); in sparse_basic() 508 refMat1.conservativeResize(rows+incRows, cols+incCols); in sparse_basic() 509 if (incRows > 0) refMat1.bottomRows(incRows).setZero(); in sparse_basic() 510 if (incCols > 0) refMat1.rightCols(incCols).setZero(); in sparse_basic() 512 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic() 516 m1.insert(m1.rows()-1, 0) = refMat1(refMat1.rows()-1, 0) = 1; in sparse_basic() 518 m1.insert(0, m1.cols()-1) = refMat1(0, refMat1.cols()-1) = 1; in sparse_basic() 520 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic() 528 DenseMatrix refMat1 = DenseMatrix::Identity(rows, rows); in sparse_basic() local [all …]
|