Home
last modified time | relevance | path

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

/external/eigen/test/
Dsparse_basic.cpp151 DenseMatrix refM4 = DenseMatrix::Zero(rows, cols); in sparse_basic() local
159 initSparse<Scalar>(density, refM4, m4); in sparse_basic()
190 refM4.setRandom(); 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()
201 …VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
[all …]