OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:lpNorm
(Results
1 - 3
of
3
) sorted by null
/external/eigen/Eigen/src/Core/
Dot.h
212
MatrixBase<Derived>::
lpNorm
() const
/external/eigen/test/eigen2/
eigen2_array.cpp
107
template<typename VectorType> void
lpNorm
(const VectorType& v)
111
VERIFY_IS_APPROX(u.template
lpNorm
<Infinity>(), u.cwise().abs().maxCoeff());
112
VERIFY_IS_APPROX(u.template
lpNorm
<1>(), u.cwise().abs().sum());
113
VERIFY_IS_APPROX(u.template
lpNorm
<2>(), ei_sqrt(u.cwise().abs().cwise().square().sum()));
114
VERIFY_IS_APPROX(ei_pow(u.template
lpNorm
<5>(), typename VectorType::RealScalar(5)), u.cwise().abs().cwise().pow(5).sum());
135
CALL_SUBTEST_1(
lpNorm
(Matrix<float, 1, 1>()) );
136
CALL_SUBTEST_2(
lpNorm
(Vector2f()) );
137
CALL_SUBTEST_3(
lpNorm
(Vector3d()) );
138
CALL_SUBTEST_4(
lpNorm
(Vector4f()) );
139
CALL_SUBTEST_5(
lpNorm
(VectorXf(16)) )
[
all
...]
/external/eigen/test/
array_for_matrix.cpp
134
template<typename VectorType> void
lpNorm
(const VectorType& v)
139
VERIFY_IS_APPROX(u.template
lpNorm
<Infinity>(), u.cwiseAbs().maxCoeff());
140
VERIFY_IS_APPROX(u.template
lpNorm
<1>(), u.cwiseAbs().sum());
141
VERIFY_IS_APPROX(u.template
lpNorm
<2>(), sqrt(u.array().abs().square().sum()));
142
VERIFY_IS_APPROX(numext::pow(u.template
lpNorm
<5>(), typename VectorType::RealScalar(5)), u.array().abs().pow(5).sum());
241
CALL_SUBTEST_1(
lpNorm
(Matrix<float, 1, 1>()) );
242
CALL_SUBTEST_2(
lpNorm
(Vector2f()) );
243
CALL_SUBTEST_7(
lpNorm
(Vector3d()) );
244
CALL_SUBTEST_8(
lpNorm
(Vector4f()) );
245
CALL_SUBTEST_5(
lpNorm
(VectorXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) )
[
all
...]
Completed in 145 milliseconds