Searched refs:refM3 (Results 1 – 2 of 2) sorted by relevance
/external/eigen/test/ |
D | sparse_basic.cpp | 150 DenseMatrix refM3 = DenseMatrix::Zero(rows, cols); in sparse_basic() local 158 initSparse<Scalar>(density, refM3, m3); 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() 192 VERIFY_IS_APPROX(m3.cwiseProduct(refM4), refM3.cwiseProduct(refM4)); in sparse_basic() 194 VERIFY_IS_APPROX(refM4.cwiseProduct(m3), refM4.cwiseProduct(refM3)); in sparse_basic() 197 VERIFY_IS_APPROX(refM4 + m3, refM4 + refM3); in sparse_basic() 198 VERIFY_IS_APPROX(m3 + refM4, refM3 + refM4); in sparse_basic() 199 VERIFY_IS_APPROX(refM4 - m3, refM4 - refM3); in sparse_basic() 200 VERIFY_IS_APPROX(m3 - refM4, refM3 - refM4); in sparse_basic() [all …]
|
D | sparse_product.cpp | 228 DenseMatrix refM3 = DenseMatrix::Zero(rows, cols); in sparse_product() local 235 initSparse<Scalar>(density, refM3, m3); in sparse_product() 236 VERIFY_IS_APPROX(m3=m2*d1, refM3=refM2*d1); in sparse_product() 237 VERIFY_IS_APPROX(m3=m2.transpose()*d2, refM3=refM2.transpose()*d2); in sparse_product() 238 VERIFY_IS_APPROX(m3=d2*m2, refM3=d2*refM2); in sparse_product() 239 VERIFY_IS_APPROX(m3=d1*m2.transpose(), refM3=d1*refM2.transpose()); in sparse_product() 245 VERIFY_IS_APPROX(m3=m2*v1.asDiagonal(), refM3=refM2*v1.asDiagonal()); in sparse_product() 246 VERIFY_IS_APPROX(m3=m2.transpose()*v2.asDiagonal(), refM3=refM2.transpose()*v2.asDiagonal()); in sparse_product() 247 VERIFY_IS_APPROX(m3=v2.asDiagonal()*m2, refM3=v2.asDiagonal()*refM2); in sparse_product() 248 VERIFY_IS_APPROX(m3=v1.asDiagonal()*m2.transpose(), refM3=v1.asDiagonal()*refM2.transpose()); in sparse_product() [all …]
|