• Home
  • Raw
  • Download

Lines Matching refs:VERIFY_IS_APPROX

53     VERIFY_IS_APPROX(m, refMat);  in sparse_basic()
60 VERIFY_IS_APPROX(m, refMat); in sparse_basic()
98 VERIFY_IS_APPROX(m2,m1); in sparse_basic()
121 VERIFY_IS_APPROX(m2,m1); in sparse_basic()
143 VERIFY_IS_APPROX(m2,m1); in sparse_basic()
166 VERIFY_IS_APPROX(m1*s1, refM1*s1); 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()
171 VERIFY_IS_APPROX(m4=m1/s1, refM1/s1); 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()
183VERIFY_IS_APPROX(( m1.template block<1,Dynamic>(r,0,1,m1.cols()).dot(rv)) , refM1.row(r).dot(rv)); in sparse_basic()
184 VERIFY_IS_APPROX(m1.row(r).dot(rv), refM1.row(r).dot(rv)); in sparse_basic()
185 VERIFY_IS_APPROX(m1.col(c).dot(cv), refM1.col(c).dot(cv)); in sparse_basic()
187 VERIFY_IS_APPROX(m1.conjugate(), refM1.conjugate()); in sparse_basic()
188 VERIFY_IS_APPROX(m1.real(), refM1.real()); 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()
201VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
202VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + m3*RealScalar(0.5)).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
203VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + m3.cwiseProduct(m3)).eval(), RealScalar(0.5)*refM4 + ref… in sparse_basic()
205VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
206VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + m3*RealScalar(0.5)).eval(), RealScalar(0.5)*refM4 + Real… in sparse_basic()
207VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + (m3+m3)).eval(), RealScalar(0.5)*refM4 + (refM3+refM3)); in sparse_basic()
208 VERIFY_IS_APPROX(((refM3+m3)+RealScalar(0.5)*m3).eval(), RealScalar(0.5)*refM3 + (refM3+refM3)); in sparse_basic()
209VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + (refM3+m3)).eval(), RealScalar(0.5)*refM4 + (refM3+refM3… in sparse_basic()
210VERIFY_IS_APPROX((RealScalar(0.5)*refM4 + (m3+refM3)).eval(), RealScalar(0.5)*refM4 + (refM3+refM3… in sparse_basic()
213 VERIFY_IS_APPROX(m1.sum(), refM1.sum()); in sparse_basic()
217 VERIFY_IS_APPROX(m1*=s1, refM1*=s1); in sparse_basic()
219 VERIFY_IS_APPROX(m1/=s1, refM1/=s1); 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()
235 VERIFY_IS_APPROX((m1 = -m1), (refM1 = -refM1)); in sparse_basic()
238 VERIFY_IS_APPROX((m1 = m1.transpose()), (refM1 = refM1.transpose().eval())); in sparse_basic()
241 VERIFY_IS_APPROX((m1 = -m1.transpose()), (refM1 = -refM1.transpose().eval())); in sparse_basic()
244 VERIFY_IS_APPROX((m1 += -m1), (refM1 += -refM1)); in sparse_basic()
250 VERIFY_IS_APPROX(m1.coeffs().sum(), m1.sum()); in sparse_basic()
255 VERIFY_IS_APPROX(m1, refM1); in sparse_basic()
296VERIFY_IS_APPROX( std::abs(ref_value[ref_value.size()-count_forward+count_reverse])+1, std::abs(it… in sparse_basic()
309 VERIFY_IS_APPROX(m2.transpose().eval(), refMat2.transpose().eval()); in sparse_basic()
310 VERIFY_IS_APPROX(m2.transpose(), refMat2.transpose()); in sparse_basic()
312 VERIFY_IS_APPROX(SparseMatrixType(m2.adjoint()), refMat2.adjoint()); in sparse_basic()
353 VERIFY_IS_APPROX(m2, refM2); in sparse_basic()
356 VERIFY_IS_APPROX(m2, refM2); in sparse_basic()
384 VERIFY_IS_APPROX(m, refMat_sum); in sparse_basic()
387 VERIFY_IS_APPROX(m, refMat_prod); in sparse_basic()
390 VERIFY_IS_APPROX(m, refMat_last); 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()
432 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
436 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
441 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
445 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
450 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
454 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
458 VERIFY_IS_APPROX(refMat3, DenseMatrix(refMat2.template triangularView<StrictlyUpper>())); in sparse_basic()
469 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
473 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
477 VERIFY_IS_APPROX(m3, refMat3); in sparse_basic()
490 VERIFY_IS_APPROX(m2.eval(), refMat2.sparseView().eval()); in sparse_basic()
493 VERIFY_IS_APPROX((s1*m2).eval(), (s1*refMat2).sparseView().eval()); in sparse_basic()
494 VERIFY_IS_APPROX((m2+m2).eval(), (refMat2+refMat2).sparseView().eval()); in sparse_basic()
495 VERIFY_IS_APPROX((m2*m2).eval(), (refMat2.lazyProduct(refMat2)).sparseView().eval()); in sparse_basic()
496 VERIFY_IS_APPROX((m2*m2).eval(), (refMat2*refMat2).sparseView().eval()); in sparse_basic()
504 VERIFY_IS_APPROX(m2.diagonal(), refMat2.diagonal().eval()); in sparse_basic()
506 VERIFY_IS_APPROX(d, refMat2.diagonal().eval()); in sparse_basic()
508 VERIFY_IS_APPROX(d, refMat2.diagonal().eval()); in sparse_basic()
509 VERIFY_IS_APPROX(const_cast<const SparseMatrixType&>(m2).diagonal(), refMat2.diagonal().eval()); in sparse_basic()
514 VERIFY_IS_APPROX(m2, refMat2); in sparse_basic()
523 VERIFY_IS_APPROX(m2, refMat2); in sparse_basic()
525 VERIFY_IS_APPROX(m3, refMat2); in sparse_basic()
528 VERIFY_IS_APPROX(m2, refMat2); in sparse_basic()
553 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic()
561 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic()
572 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic()
580 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic()
586 VERIFY_IS_APPROX(m1, refMat1); in sparse_basic()
640 VERIFY_IS_APPROX(sum, m.sum()); in big_sparse_triplet()