Searched refs:lpNorm (Results 1 – 12 of 12) sorted by relevance
/external/eigen/doc/examples/ |
D | Tutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp | 20 cout << "v.lpNorm<1>() = " << v.lpNorm<1>() << endl; in main() 21 cout << "v.lpNorm<Infinity>() = " << v.lpNorm<Infinity>() << endl; in main() 26 cout << "m.lpNorm<1>() = " << m.lpNorm<1>() << endl; in main() 27 cout << "m.lpNorm<Infinity>() = " << m.lpNorm<Infinity>() << endl; in main()
|
D | Tutorial_ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp | 14 << " == " << m.colwise().lpNorm<1>().maxCoeff() << endl; in main() 17 << " == " << m.rowwise().lpNorm<1>().maxCoeff() << endl; in main()
|
/external/eigen/test/ |
D | array_for_matrix.cpp | 150 template<typename VectorType> void lpNorm(const VectorType& v) in lpNorm() function 158 VERIFY_IS_APPROX(u.template lpNorm<Infinity>(), RealScalar(0)); in lpNorm() 159 VERIFY_IS_APPROX(u.template lpNorm<1>(), RealScalar(0)); in lpNorm() 160 VERIFY_IS_APPROX(u.template lpNorm<2>(), RealScalar(0)); in lpNorm() 161 VERIFY_IS_APPROX(u.template lpNorm<5>(), RealScalar(0)); in lpNorm() 165 VERIFY_IS_APPROX(u.template lpNorm<Infinity>(), u.cwiseAbs().maxCoeff()); in lpNorm() 168 VERIFY_IS_APPROX(u.template lpNorm<1>(), u.cwiseAbs().sum()); in lpNorm() 169 VERIFY_IS_APPROX(u.template lpNorm<2>(), sqrt(u.array().abs().square().sum())); in lpNorm() 170 …VERIFY_IS_APPROX(numext::pow(u.template lpNorm<5>(), typename VectorType::RealScalar(5)), u.array(… in lpNorm() 288 CALL_SUBTEST_1( lpNorm(Matrix<float, 1, 1>()) ); in test_array_for_matrix() [all …]
|
D | vectorwiseop.cpp | 208 VERIFY_IS_APPROX(m1.cwiseAbs().colwise().sum(), m1.colwise().template lpNorm<1>()); in vectorwiseop_matrix() 209 VERIFY_IS_APPROX(m1.cwiseAbs().rowwise().sum(), m1.rowwise().template lpNorm<1>()); in vectorwiseop_matrix() 210 VERIFY_IS_APPROX(m1.cwiseAbs().colwise().maxCoeff(), m1.colwise().template lpNorm<Infinity>()); in vectorwiseop_matrix() 211 VERIFY_IS_APPROX(m1.cwiseAbs().rowwise().maxCoeff(), m1.rowwise().template lpNorm<Infinity>()); in vectorwiseop_matrix()
|
/external/eigen/Eigen/src/Core/ |
D | ConditionEstimator.h | 84 RealScalar lower_bound = v.template lpNorm<1>(); 112 lower_bound = v.template lpNorm<1>(); 140 const RealScalar alternate_lower_bound = (2 * v.template lpNorm<1>()) / (3 * RealScalar(n));
|
D | VectorwiseOp.h | 121 { return mat.template lpNorm<p>(); } 354 const typename LpNormReturnType<p>::Type lpNorm() const
|
D | Dot.h | 264 MatrixBase<Derived>::lpNorm() const
|
D | DenseBase.h | 539 template<int p> RealScalar lpNorm() const;
|
D | MatrixBase.h | 319 template<int p> EIGEN_DEVICE_FUNC RealScalar lpNorm() const;
|
/external/eigen/Eigen/src/Cholesky/ |
D | LLT.h | 436 …m = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template… 438 …_sum = m_matrix.col(col).head(col).template lpNorm<1>() + m_matrix.row(col).tail(size - col).templ…
|
D | LDLT.h | 505 …m = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template… 507 …_sum = m_matrix.col(col).head(col).template lpNorm<1>() + m_matrix.row(col).tail(size - col).templ…
|
/external/eigen/doc/ |
D | TutorialReductionsVisitorsBroadcasting.dox | 35 If you want other coefficient-wise \f$\ell^p\f$ norms, use the \link MatrixBase::lpNorm lpNorm<p>()…
|