Searched refs:refM1 (Results 1 – 4 of 4) sorted by relevance
/external/eigen/test/eigen2/ |
D | eigen2_sparse_basic.cpp | 202 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows); in sparse_basic() local 210 initSparse<Scalar>(density, refM1, m1); in sparse_basic() 215 VERIFY_IS_APPROX(m1+m2, refM1+refM2); in sparse_basic() 216 VERIFY_IS_APPROX(m1+m2+m3, refM1+refM2+refM3); in sparse_basic() 217 VERIFY_IS_APPROX(m3.cwise()*(m1+m2), refM3.cwise()*(refM1+refM2)); in sparse_basic() 218 VERIFY_IS_APPROX(m1*s1-m2, refM1*s1-refM2); in sparse_basic() 220 VERIFY_IS_APPROX(m1*=s1, refM1*=s1); in sparse_basic() 221 VERIFY_IS_APPROX(m1/=s1, refM1/=s1); in sparse_basic() 223 VERIFY_IS_APPROX(m1+=m2, refM1+=refM2); in sparse_basic() 224 VERIFY_IS_APPROX(m1-=m2, refM1-=refM2); in sparse_basic() [all …]
|
D | eigen2_sparse_vector.cpp | 24 DenseMatrix refM1 = DenseMatrix::Zero(rows, cols); in sparse_vector() local 31 initSparse<Scalar>(densityMat, refM1, m1); in sparse_vector()
|
/external/eigen/test/ |
D | sparse_basic.cpp | 160 DenseMatrix refM1 = DenseMatrix::Zero(rows, rows); in sparse_basic() local 168 initSparse<Scalar>(density, refM1, m1); in sparse_basic() 173 VERIFY_IS_APPROX(m1+m2, refM1+refM2); in sparse_basic() 174 VERIFY_IS_APPROX(m1+m2+m3, refM1+refM2+refM3); in sparse_basic() 175 VERIFY_IS_APPROX(m3.cwiseProduct(m1+m2), refM3.cwiseProduct(refM1+refM2)); in sparse_basic() 176 VERIFY_IS_APPROX(m1*s1-m2, refM1*s1-refM2); in sparse_basic() 178 VERIFY_IS_APPROX(m1*=s1, refM1*=s1); in sparse_basic() 179 VERIFY_IS_APPROX(m1/=s1, refM1/=s1); in sparse_basic() 181 VERIFY_IS_APPROX(m1+=m2, refM1+=refM2); in sparse_basic() 182 VERIFY_IS_APPROX(m1-=m2, refM1-=refM2); 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() 74 VERIFY_IS_APPROX(v1.dot(m1*v2), refV1.dot(refM1*refV2)); in sparse_vector() 76 VERIFY_IS_APPROX(v1.dot(m1.col(i)), refV1.dot(refM1.col(i))); in sparse_vector()
|