Home
last modified time | relevance | path

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

/external/eigen/test/
Dsparse_product.cpp54 DenseMatrix refMat3 = DenseMatrix::Zero(depth, cols); in sparse_product() local
71 initSparse(density, refMat3, m3); in sparse_product()
80 VERIFY_IS_APPROX(m4=m2*m3, refMat4=refMat2*refMat3); in sparse_product()
81 VERIFY_IS_APPROX(m4=m2t.transpose()*m3, refMat4=refMat2t.transpose()*refMat3); in sparse_product()
85 VERIFY_IS_APPROX(m4 = m2*m3/s1, refMat4 = refMat2*refMat3/s1); in sparse_product()
86 VERIFY_IS_APPROX(m4 = m2*m3*s1, refMat4 = refMat2*refMat3*s1); in sparse_product()
87 VERIFY_IS_APPROX(m4 = s2*m2*m3*s1, refMat4 = s2*refMat2*refMat3*s1); in sparse_product()
88 VERIFY_IS_APPROX(m4 = (m2+m2)*m3, refMat4 = (refMat2+refMat2)*refMat3); in sparse_product()
89 VERIFY_IS_APPROX(m4 = m2*m3.leftCols(cols/2), refMat4 = refMat2*refMat3.leftCols(cols/2)); in sparse_product()
90 …VERIFY_IS_APPROX(m4 = m2*(m3+m3).leftCols(cols/2), refMat4 = refMat2*(refMat3+refMat3).leftCols(co… in sparse_product()
[all …]
Dsparse_basic.cpp396 DenseMatrix refMat2(rows, cols), refMat3(rows, cols); in sparse_basic() local
399 initSparse<Scalar>(density, refMat3, m3); in sparse_basic()
403 VERIFY_IS_APPROX(mapMat2+mapMat3, refMat2+refMat3); in sparse_basic()
404 VERIFY_IS_APPROX(mapMat2+mapMat3, refMat2+refMat3); in sparse_basic()
409 VERIFY_IS_APPROX(mapMat2+mapMat3, refMat2+refMat3); in sparse_basic()
410 VERIFY_IS_APPROX(mapMat2+mapMat3, refMat2+refMat3); in sparse_basic()
427 DenseMatrix refMat2(rows, cols), refMat3(rows, cols); in sparse_basic() local
430 refMat3 = refMat2.template triangularView<Lower>(); in sparse_basic()
432 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
434 refMat3 = refMat2.template triangularView<Upper>(); in sparse_basic()
[all …]
Dsparse_block.cpp266 DenseMatrix refMat3(rows, cols); refMat3.setZero(); in sparse_block() local
275 refMat3.row(o1) = refMat2.row(o2); in sparse_block()
280 refMat3.col(o1) = refMat2.col(o2); in sparse_block()
286 VERIFY_IS_APPROX(m3, refMat3); in sparse_block()