Searched refs:cwiseAbs2 (Results 1 – 14 of 14) sorted by relevance
27 …eturn (nested - otherNested).cwiseAbs2().sum() <= prec * prec * numext::mini(nested.cwiseAbs2().su… in run()47 return x.cwiseAbs2().sum() <= numext::abs2(prec) * y.cwiseAbs2().sum();67 return x.cwiseAbs2().sum() <= numext::abs2(prec * y);
95 return numext::real((*this).cwiseAbs2().sum());
78 …NARY(abs2,scalar_abs2_op,squared absolute value,\sa ArrayBase::abs2 DOXCOMMA MatrixBase::cwiseAbs2)
66 …return std::sqrt((A - B).cwiseAbs2().sum() / (std::min)(A.cwiseAbs2().sum(), B.cwiseAbs2().sum()));
39 EIGEN_DOC_UNARY_ADDONS(cwiseAbs2,squared absolute value) in EIGEN_DOC_UNARY_ADDONS() argument45 cwiseAbs2() const { return CwiseAbs2ReturnType(derived()); } in EIGEN_DOC_UNARY_ADDONS()
4 cout << m.cwiseAbs2() << endl;
16 return !((m1-m2).cwiseAbs2().maxCoeff() < epsilon * epsilon17 * (std::max)(m1.cwiseAbs2().maxCoeff(), m2.cwiseAbs2().maxCoeff()));
395 …return sqrt(RealScalar((ea-eb).cwiseAbs2().sum()) / RealScalar((std::min)(eb.cwiseAbs2().sum(),ea.… in test_relative_error()
66 …namic> diffs = (vec1.rowwise().replicate(n) - vec2.rowwise().replicate(n).transpose()).cwiseAbs2(); in verify_is_approx_upto_permutation()
83 …VERIFY_IS_APPROX( svd.matrixU().leftCols(diagSize) * svd.singularValues().cwiseAbs2().asDiagonal()… in svd_compare_to_full()84 …ferenceSvd.matrixU().leftCols(diagSize) * referenceSvd.singularValues().cwiseAbs2().asDiagonal() *… in svd_compare_to_full()
79 return numext::real((*this).cwiseAbs2().sum()); in squaredNorm()
199 m.\link MatrixBase::cwiseAbs2 cwiseAbs2\endlink();
140 R.cwiseAbs2() // abs(P.^2)
449 mat1.cwiseAbs2()