OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isApprox
(Results
1 - 25
of
64
) sorted by null
1
2
3
/external/eigen/test/
sparse_permutations.cpp
49
VERIFY(res.
isApprox
(res_d) && "mat*p");
53
VERIFY(res.
isApprox
(res_d) && "p*mat");
57
VERIFY(res.
isApprox
(res_d) && "mat*inv(p)");
61
VERIFY(res.
isApprox
(res_d) && "inv(p)*mat");
65
VERIFY(res.
isApprox
(res_d) && "p*mat*inv(p)");
70
VERIFY(res.
isApprox
(res_d) && "full selfadjoint upper to full");
74
VERIFY(res.
isApprox
(res_d) && "full selfadjoint lower to full");
79
VERIFY(res.
isApprox
(res_d) && "upper selfadjoint to full");
83
VERIFY(res.
isApprox
(res_d) && "lower selfadjoint full");
88
VERIFY(res.
isApprox
(res_d) && "full selfadjoint upper to full")
[
all
...]
product_trmv.cpp
34
VERIFY((m3 * v1).
isApprox
(m1.template triangularView<Eigen::Lower>() * v1, largerEps));
36
VERIFY((m3 * v1).
isApprox
(m1.template triangularView<Eigen::Upper>() * v1, largerEps));
38
VERIFY((m3 * v1).
isApprox
(m1.template triangularView<Eigen::UnitLower>() * v1, largerEps));
40
VERIFY((m3 * v1).
isApprox
(m1.template triangularView<Eigen::UnitUpper>() * v1, largerEps));
44
VERIFY(((s1*m3).conjugate() * v1).
isApprox
((s1*m1).conjugate().template triangularView<Eigen::Lower>() * v1, largerEps));
46
VERIFY((m3.conjugate() * v1.conjugate()).
isApprox
(m1.conjugate().template triangularView<Eigen::Upper>() * v1.conjugate(), largerEps));
50
VERIFY((m3.transpose() * v1).
isApprox
(m1.transpose().template triangularView<Eigen::Lower>() * v1, largerEps));
52
VERIFY((m3.transpose() * v1).
isApprox
(m1.transpose().template triangularView<Eigen::Upper>() * v1, largerEps));
54
VERIFY((m3.transpose() * v1).
isApprox
(m1.transpose().template triangularView<Eigen::UnitLower>() * v1, largerEps));
56
VERIFY((m3.transpose() * v1).
isApprox
(m1.transpose().template triangularView<Eigen::UnitUpper>() * v1, largerEps))
[
all
...]
triangular.cpp
73
VERIFY(v2.
isApprox
(m3.adjoint() * (m1.adjoint().template triangularView<Lower>().solve(v2)), largerEps));
75
VERIFY(v2.
isApprox
(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(v2)), largerEps));
77
VERIFY(v2.
isApprox
(m3 * (m1.template triangularView<Upper>().solve(v2)), largerEps));
79
VERIFY(v2.
isApprox
(m3.conjugate() * (m1.conjugate().template triangularView<Lower>().solve(v2)), largerEps));
83
VERIFY(m2.
isApprox
(m3.adjoint() * (m1.adjoint().template triangularView<Lower>().solve(m2)), largerEps));
85
VERIFY(m2.
isApprox
(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(m2)), largerEps));
87
VERIFY(m2.
isApprox
(m3 * (m1.template triangularView<Upper>().solve(m2)), largerEps));
89
VERIFY(m2.
isApprox
(m3.conjugate() * (m1.conjugate().template triangularView<Lower>().solve(m2)), largerEps));
104
VERIFY(m2.
isApprox
(m3 * (m1.template triangularView<UnitUpper>().solve(m2)), largerEps));
eigensolver_selfadjoint.cpp
46
VERIFY((symmA.template selfadjointView<Lower>() * eiSymm.eigenvectors()).
isApprox
(
51
VERIFY((symmA.template selfadjointView<Lower>() * eiDirect.eigenvectors()).
isApprox
(
62
VERIFY((symmA.template selfadjointView<Lower>() * eiSymmGen.eigenvectors()).
isApprox
(
68
VERIFY((symmB.template selfadjointView<Lower>() * (symmA.template selfadjointView<Lower>() * eiSymmGen.eigenvectors())).
isApprox
(
74
VERIFY((symmA.template selfadjointView<Lower>() * (symmB.template selfadjointView<Lower>() * eiSymmGen.eigenvectors())).
isApprox
(
spqr_support.cpp
56
VERIFY(x.
isApprox
(refX,test_precision<Scalar>()));
sparse_solver.h
37
VERIFY(oldb.
isApprox
(b) && "sparse solver testing: the rhs should not be modified!");
39
VERIFY(x.
isApprox
(refX,test_precision<Scalar>()));
56
VERIFY(oldb.
isApprox
(b) && "sparse solver testing: the rhs should not be modified!");
58
VERIFY(x.
isApprox
(refX,test_precision<Scalar>()));
67
VERIFY(oldb.
isApprox
(db) && "sparse solver testing: the rhs should not be modified!");
68
VERIFY(x.
isApprox
(refX,test_precision<Scalar>()));
/external/eigen/doc/snippets/
ColPivHouseholderQR_solve.cpp
7
assert(y.
isApprox
(m*x));
FullPivHouseholderQR_solve.cpp
7
assert(y.
isApprox
(m*x));
FullPivLU_solve.cpp
6
if((m*x).
isApprox
(y))
HouseholderQR_solve.cpp
8
assert(y.
isApprox
(m*x));
/external/eigen/test/eigen2/
eigen2_sparse_solvers.cpp
89
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LLT: default");
94
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LLT: cholmod");
101
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LLT: taucs (IncompleteFactorization)");
104
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LLT: taucs (SupernodalMultifrontal)");
107
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LLT: taucs (SupernodalLeftLooking)");
133
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LDLT: default");
154
// // VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LU: default");
162
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LU: SuperLU");
179
VERIFY(refX.
isApprox
(x,test_precision<Scalar>()) && "LU: umfpack"); // FIXME solve is not very stable for complex
eigen2_eigensolver.cpp
63
VERIFY((symmA * _evec).
isApprox
(_evec * _eval.asDiagonal(), largerEps));
74
VERIFY((symmA * _evec).
isApprox
(symmB * (_evec * _eval.asDiagonal()), largerEps));
88
VERIFY((symmA * eiSymm.eigenvectors()).
isApprox
(
92
VERIFY((symmA * eiSymmGen.eigenvectors()).
isApprox
(
/external/eigen/unsupported/test/
matrix_exponential.cpp
40
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
44
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
65
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
69
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
89
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
93
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
114
VERIFY(identity.
isApprox
(m2, static_cast<RealScalar>(tol)));
118
VERIFY(identity.
isApprox
(m2, static_cast<RealScalar>(tol)));
polynomialsolver.cpp
64
if( internal::
isApprox
( rootModuli[i], rootModuli[i-1] ) ){
123
if( internal::
isApprox
( calc_realRoots[i], real_roots[j] ), psPrec ){
130
VERIFY( internal::
isApprox
( roots.array().abs().maxCoeff(),
134
VERIFY( internal::
isApprox
( roots.array().abs().minCoeff(),
142
VERIFY( internal::
isApprox
( real_roots.array().abs().maxCoeff(), abs(r), psPrec ) ); }
148
VERIFY( internal::
isApprox
( real_roots.array().abs().minCoeff(), abs( r ), psPrec ) ); }
154
VERIFY( internal::
isApprox
( real_roots.array().maxCoeff(), r, psPrec ) ); }
160
VERIFY( internal::
isApprox
( real_roots.array().minCoeff(), r, psPrec ) ); }
mpreal_support.cpp
30
VERIFY(Eigen::internal::
isApprox
(A.array().abs2().sum(), A.squaredNorm()));
48
VERIFY( (S.selfadjointView<Lower>() * eig.eigenvectors()).
isApprox
(eig.eigenvectors() * eig.eigenvalues().asDiagonal(), NumTraits<mpreal>::dummy_precision()*1e3) );
matrix_power.cpp
56
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
78
VERIFY(C.
isApprox
(B, static_cast<T>(tol)));
100
VERIFY(m4.
isApprox
(m5, static_cast<RealScalar>(tol)));
104
VERIFY(m4.
isApprox
(m5, static_cast<RealScalar>(tol)));
108
VERIFY(m4.
isApprox
(m5, static_cast<RealScalar>(tol)));
sparse_extra.cpp
32
return sm.
isApprox
(ref);
47
return sm.
isApprox
(ref);
/external/eigen/Eigen/src/Eigen2Support/Geometry/
ParametrizedLine.h
111
* \sa MatrixBase::
isApprox
() */
112
bool
isApprox
(const ParametrizedLine& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
113
{ return m_origin.
isApprox
(other.m_origin, prec) && m_direction.
isApprox
(other.m_direction, prec); }
AlignedBox.h
135
* \sa MatrixBase::
isApprox
() */
136
bool
isApprox
(const AlignedBox& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
137
{ return m_min.
isApprox
(other.m_min, prec) && m_max.
isApprox
(other.m_max, prec); }
AngleAxis.h
142
* \sa MatrixBase::
isApprox
() */
143
bool
isApprox
(const AngleAxis& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
144
{ return m_axis.
isApprox
(other.m_axis, prec) && ei_isApprox(m_angle,other.m_angle, prec); }
Scaling.h
132
* \sa MatrixBase::
isApprox
() */
133
bool
isApprox
(const Scaling& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
134
{ return m_coeffs.
isApprox
(other.m_coeffs, prec); }
Translation.h
135
* \sa MatrixBase::
isApprox
() */
136
bool
isApprox
(const Translation& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
137
{ return m_coeffs.
isApprox
(other.m_coeffs, prec); }
/external/eigen/Eigen/src/Geometry/
Rotation2D.h
116
* \sa MatrixBase::
isApprox
() */
117
bool
isApprox
(const Rotation2D& other, const typename NumTraits<Scalar>::Real& prec = NumTraits<Scalar>::dummy_precision()) const
118
{ return internal::
isApprox
(m_angle,other.m_angle, prec); }
Scaling.h
101
* \sa MatrixBase::
isApprox
() */
102
bool
isApprox
(const UniformScaling& other, const typename NumTraits<Scalar>::Real& prec = NumTraits<Scalar>::dummy_precision()) const
103
{ return internal::
isApprox
(m_factor, other.factor(), prec); }
/external/eigen/Eigen/src/Core/
DiagonalMatrix.h
87
bool
isApprox
(const DiagonalBase<OtherDerived>& other, typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) const
89
return diagonal().
isApprox
(other.diagonal(), precision);
92
bool
isApprox
(const MatrixBase<OtherDerived>& other, typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision()) const
94
return toDenseMatrix().
isApprox
(other, precision);
Completed in 563 milliseconds
1
2
3