Home
last modified time | relevance | path

Searched refs:refMat3 (Results 1 – 3 of 3) sorted by relevance

/external/eigen/test/eigen2/
Deigen2_sparse_product.cpp26 DenseMatrix refMat3 = DenseMatrix::Zero(rows, rows); in sparse_product() local
33 initSparse<Scalar>(density, refMat3, m3); in sparse_product()
35 VERIFY_IS_APPROX(m4=m2*m3, refMat4=refMat2*refMat3); in sparse_product()
36 VERIFY_IS_APPROX(m4=m2.transpose()*m3, refMat4=refMat2.transpose()*refMat3); in sparse_product()
37 …VERIFY_IS_APPROX(m4=m2.transpose()*m3.transpose(), refMat4=refMat2.transpose()*refMat3.transpose()… in sparse_product()
38 VERIFY_IS_APPROX(m4=m2*m3.transpose(), refMat4=refMat2*refMat3.transpose()); in sparse_product()
41 VERIFY_IS_APPROX(dm4=m2*refMat3, refMat4=refMat2*refMat3); in sparse_product()
42 VERIFY_IS_APPROX(dm4=m2*refMat3.transpose(), refMat4=refMat2*refMat3.transpose()); in sparse_product()
43 VERIFY_IS_APPROX(dm4=m2.transpose()*refMat3, refMat4=refMat2.transpose()*refMat3); in sparse_product()
44 …VERIFY_IS_APPROX(dm4=m2.transpose()*refMat3.transpose(), refMat4=refMat2.transpose()*refMat3.trans… in sparse_product()
[all …]
/external/eigen/test/
Dsparse_product.cpp62 DenseMatrix refMat3 = DenseMatrix::Zero(depth, cols); in sparse_product() local
79 initSparse(density, refMat3, m3); in sparse_product()
88 VERIFY_IS_APPROX(m4=m2*m3, refMat4=refMat2*refMat3); in sparse_product()
89 VERIFY_IS_APPROX(m4=m2t.transpose()*m3, refMat4=refMat2t.transpose()*refMat3); in sparse_product()
93 VERIFY_IS_APPROX(m4 = m2*m3/s1, refMat4 = refMat2*refMat3/s1); in sparse_product()
94 VERIFY_IS_APPROX(m4 = m2*m3*s1, refMat4 = refMat2*refMat3*s1); in sparse_product()
95 VERIFY_IS_APPROX(m4 = s2*m2*m3*s1, refMat4 = s2*refMat2*refMat3*s1); in sparse_product()
97 VERIFY_IS_APPROX(m4=(m2*m3).pruned(0), refMat4=refMat2*refMat3); in sparse_product()
98 VERIFY_IS_APPROX(m4=(m2t.transpose()*m3).pruned(0), refMat4=refMat2t.transpose()*refMat3); in sparse_product()
104 VERIFY_IS_APPROX(m4=m4*m3, refMat4=refMat4*refMat3); in sparse_product()
[all …]
Dsparse_basic.cpp436 DenseMatrix refMat2(rows, rows), refMat3(rows, rows); in sparse_basic() local
439 refMat3 = refMat2.template triangularView<Lower>(); in sparse_basic()
441 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
443 refMat3 = refMat2.template triangularView<Upper>(); in sparse_basic()
445 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
447 refMat3 = refMat2.template triangularView<UnitUpper>(); in sparse_basic()
449 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
451 refMat3 = refMat2.template triangularView<UnitLower>(); in sparse_basic()
453 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
455 refMat3 = refMat2.template triangularView<StrictlyUpper>(); in sparse_basic()
[all …]