Home
last modified time | relevance | path

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

/external/eigen/doc/examples/
DTutorial_ReductionsVisitorsBroadcasting_reductions_norm.cpp20 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()
DTutorial_ReductionsVisitorsBroadcasting_reductions_operatornorm.cpp14 << " == " << m.colwise().lpNorm<1>().maxCoeff() << endl; in main()
17 << " == " << m.rowwise().lpNorm<1>().maxCoeff() << endl; in main()
/external/eigen/test/
Darray_for_matrix.cpp150 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 …]
Dvectorwiseop.cpp208 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/
DConditionEstimator.h84 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));
DVectorwiseOp.h121 { return mat.template lpNorm<p>(); }
354 const typename LpNormReturnType<p>::Type lpNorm() const
DDot.h264 MatrixBase<Derived>::lpNorm() const
DDenseBase.h539 template<int p> RealScalar lpNorm() const;
DMatrixBase.h319 template<int p> EIGEN_DEVICE_FUNC RealScalar lpNorm() const;
/external/eigen/Eigen/src/Cholesky/
DLLT.h436 …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…
DLDLT.h505 …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/
DTutorialReductionsVisitorsBroadcasting.dox35 If you want other coefficient-wise \f$\ell^p\f$ norms, use the \link MatrixBase::lpNorm lpNorm<p>()…