Home
last modified time | relevance | path

Searched refs:refM3 (Results 1 – 4 of 4) sorted by relevance

/external/eigen/test/
Dsparse_product.cpp145 DenseMatrix refM3 = DenseMatrix::Zero(rows, cols); in sparse_product() local
152 initSparse<Scalar>(density, refM3, m3); in sparse_product()
153 VERIFY_IS_APPROX(m3=m2*d1, refM3=refM2*d1); in sparse_product()
154 VERIFY_IS_APPROX(m3=m2.transpose()*d2, refM3=refM2.transpose()*d2); in sparse_product()
155 VERIFY_IS_APPROX(m3=d2*m2, refM3=d2*refM2); in sparse_product()
156 VERIFY_IS_APPROX(m3=d1*m2.transpose(), refM3=d1*refM2.transpose()); in sparse_product()
161 VERIFY_IS_APPROX(m3=m2*v1.asDiagonal(), refM3=refM2*v1.asDiagonal()); in sparse_product()
162 VERIFY_IS_APPROX(m3=m2.transpose()*v2.asDiagonal(), refM3=refM2.transpose()*v2.asDiagonal()); in sparse_product()
163 VERIFY_IS_APPROX(m3=v2.asDiagonal()*m2, refM3=v2.asDiagonal()*refM2); in sparse_product()
164 VERIFY_IS_APPROX(m3=v1.asDiagonal()*m2.transpose(), refM3=v1.asDiagonal()*refM2.transpose()); in sparse_product()
[all …]
Dsparse_basic.cpp276 DenseMatrix refM3 = DenseMatrix::Zero(rows, rows); in sparse_basic() local
284 initSparse<Scalar>(density, refM3, m3); in sparse_basic()
288 VERIFY_IS_APPROX(m1+m2+m3, refM1+refM2+refM3); in sparse_basic()
289 VERIFY_IS_APPROX(m3.cwiseProduct(m1+m2), refM3.cwiseProduct(refM1+refM2)); in sparse_basic()
308 VERIFY_IS_APPROX(m3.cwiseProduct(refM4), refM3.cwiseProduct(refM4)); in sparse_basic()
/external/eigen/test/eigen2/
Deigen2_sparse_product.cpp59 DenseMatrix refM3 = DenseMatrix::Zero(rows, rows); in sparse_product() local
64 initSparse<Scalar>(density, refM3, m3); in sparse_product()
65 VERIFY_IS_APPROX(m3=m2*d1, refM3=refM2*d1); in sparse_product()
66 VERIFY_IS_APPROX(m3=m2.transpose()*d1, refM3=refM2.transpose()*d1); in sparse_product()
67 VERIFY_IS_APPROX(m3=d1*m2, refM3=d1*refM2); in sparse_product()
68 VERIFY_IS_APPROX(m3=d1*m2.transpose(), refM3=d1 * refM2.transpose()); in sparse_product()
Deigen2_sparse_basic.cpp204 DenseMatrix refM3 = DenseMatrix::Zero(rows, rows); in sparse_basic() local
212 initSparse<Scalar>(density, refM3, m3); 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()
230 VERIFY_IS_APPROX(m3.cwise()*refM4, refM3.cwise()*refM4); in sparse_basic()