Lines Matching refs:refM2
149 DenseMatrix refM2 = DenseMatrix::Zero(rows, cols); in sparse_basic() local
157 initSparse<Scalar>(density, refM2, m2); in sparse_basic()
167 VERIFY_IS_APPROX(m1+m2, refM1+refM2); 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()
170 VERIFY_IS_APPROX(m1*s1-m2, refM1*s1-refM2); in sparse_basic()
175 VERIFY_IS_APPROX(m1.innerVector(0).dot(refM2.row(0)), refM1.row(0).dot(refM2.row(0))); in sparse_basic()
177 VERIFY_IS_APPROX(m1.innerVector(0).dot(refM2.col(0)), refM1.col(0).dot(refM2.col(0))); in sparse_basic()
222 VERIFY_IS_APPROX(m1+=m2, refM1+=refM2); in sparse_basic()
223 VERIFY_IS_APPROX(m1-=m2, refM1-=refM2); in sparse_basic()
264 …& mb2).template cast<int>().sum(), (refM1.real().template cast<bool>() && refM2.real().template ca… in sparse_basic()
265 …| mb2).template cast<int>().sum(), (refM1.real().template cast<bool>() || refM2.real().template ca… in sparse_basic()
269 …VERIFY_IS_EQUAL(mb3.nonZeros(), (refM1.real().template cast<bool>() && refM2.real().template cast<… in sparse_basic()
322 DenseMatrix refM2(rows, cols); in sparse_basic() local
323 refM2.setZero(); in sparse_basic()
345 refM2(i,j) = Scalar(1); in sparse_basic()
353 VERIFY_IS_APPROX(m2, refM2); in sparse_basic()
356 VERIFY_IS_APPROX(m2, refM2); in sparse_basic()