Searched refs:refM1 (Results 1 – 2 of 2) sorted by relevance
/external/eigen/test/ |
D | sparse_basic.cpp | 148 DenseMatrix refM1 = DenseMatrix::Zero(rows, cols); in sparse_basic() local 156 initSparse<Scalar>(density, refM1, m1); in sparse_basic() 166 VERIFY_IS_APPROX(m1*s1, refM1*s1); in sparse_basic() 167 VERIFY_IS_APPROX(m1+m2, refM1+refM2); in sparse_basic() 168 VERIFY_IS_APPROX(m1+m2+m3, refM1+refM2+refM3); in sparse_basic() 169 VERIFY_IS_APPROX(m3.cwiseProduct(m1+m2), refM3.cwiseProduct(refM1+refM2)); in sparse_basic() 170 VERIFY_IS_APPROX(m1*s1-m2, refM1*s1-refM2); in sparse_basic() 171 VERIFY_IS_APPROX(m4=m1/s1, refM1/s1); in sparse_basic() 175 VERIFY_IS_APPROX(m1.innerVector(0).dot(refM2.row(0)), refM1.row(0).dot(refM2.row(0))); in sparse_basic() 177 VERIFY_IS_APPROX(m1.innerVector(0).dot(refM2.col(0)), refM1.col(0).dot(refM2.col(0))); in sparse_basic() [all …]
|
D | sparse_vector.cpp | 24 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows); in sparse_vector() local 31 initSparse<Scalar>(densityMat, refM1, m1); in sparse_vector() 88 VERIFY_IS_APPROX(m1*v2, refM1*refV2); in sparse_vector() 89 VERIFY_IS_APPROX(v1.dot(m1*v2), refV1.dot(refM1*refV2)); in sparse_vector() 92 VERIFY_IS_APPROX(v1.dot(m1.col(i)), refV1.dot(refM1.col(i))); in sparse_vector()
|