Searched refs:refMat1 (Results 1 – 1 of 1) sorted by relevance
/external/eigen/test/ |
D | sparse_basic.cpp | 545 DenseMatrix refMat1 = DenseMatrix::Zero(rows, cols); in sparse_basic() local 546 initSparse<Scalar>(density, refMat1, m1); in sparse_basic() 549 refMat1.conservativeResize(rows+incRows, cols+incCols); in sparse_basic() 550 if (incRows > 0) refMat1.bottomRows(incRows).setZero(); in sparse_basic() 551 if (incCols > 0) refMat1.rightCols(incCols).setZero(); in sparse_basic() 553 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic() 557 m1.insert(m1.rows()-1, 0) = refMat1(refMat1.rows()-1, 0) = 1; in sparse_basic() 559 m1.insert(0, m1.cols()-1) = refMat1(0, refMat1.cols()-1) = 1; in sparse_basic() 561 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic() 569 DenseMatrix refMat1 = DenseMatrix::Identity(rows, rows); in sparse_basic() local [all …]
|