Home
last modified time | relevance | path

Searched refs:largerEps (Results 1 – 7 of 7) sorted by relevance

/external/eigen/test/
Dproduct_trmv.cpp19 RealScalar largerEps = 10*test_precision<RealScalar>(); in trmv() local
34 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Lower>() * v1, largerEps)); in trmv()
36 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::Upper>() * v1, largerEps)); in trmv()
38 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitLower>() * v1, largerEps)); in trmv()
40 VERIFY((m3 * v1).isApprox(m1.template triangularView<Eigen::UnitUpper>() * v1, largerEps)); in trmv()
44 …ate() * v1).isApprox((s1*m1).conjugate().template triangularView<Eigen::Lower>() * v1, largerEps)); in trmv()
46 …e()).isApprox(m1.conjugate().template triangularView<Eigen::Upper>() * v1.conjugate(), largerEps)); in trmv()
50 …ranspose() * v1).isApprox(m1.transpose().template triangularView<Eigen::Lower>() * v1, largerEps)); in trmv()
52 …ranspose() * v1).isApprox(m1.transpose().template triangularView<Eigen::Upper>() * v1, largerEps)); in trmv()
54 …pose() * v1).isApprox(m1.transpose().template triangularView<Eigen::UnitLower>() * v1, largerEps)); in trmv()
[all …]
Dtriangular.cpp20 RealScalar largerEps = 10*test_precision<RealScalar>(); in triangular_square() local
73 …(v2.isApprox(m3.adjoint() * (m1.adjoint().template triangularView<Lower>().solve(v2)), largerEps)); in triangular_square()
75 …isApprox(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(v2)), largerEps)); in triangular_square()
77 VERIFY(v2.isApprox(m3 * (m1.template triangularView<Upper>().solve(v2)), largerEps)); in triangular_square()
79 …isApprox(m3.conjugate() * (m1.conjugate().template triangularView<Lower>().solve(v2)), largerEps)); in triangular_square()
83 …(m2.isApprox(m3.adjoint() * (m1.adjoint().template triangularView<Lower>().solve(m2)), largerEps)); in triangular_square()
85 …isApprox(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(m2)), largerEps)); in triangular_square()
87 VERIFY(m2.isApprox(m3 * (m1.template triangularView<Upper>().solve(m2)), largerEps)); in triangular_square()
89 …isApprox(m3.conjugate() * (m1.conjugate().template triangularView<Lower>().solve(m2)), largerEps)); in triangular_square()
104 VERIFY(m2.isApprox(m3 * (m1.template triangularView<UnitUpper>().solve(m2)), largerEps)); in triangular_square()
Deigensolver_selfadjoint.cpp27 RealScalar largerEps = 10*test_precision<RealScalar>(); in selfadjointeigensolver() local
61 eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal(), largerEps)); in selfadjointeigensolver()
66 eiDirect.eigenvectors() * eiDirect.eigenvalues().asDiagonal(), largerEps)); in selfadjointeigensolver()
77 …ointView<Lower>() * (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver()
83 (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver()
89 (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver()
/external/eigen/test/eigen2/
Deigen2_adjoint.cpp25 RealScalar largerEps = test_precision<RealScalar>(); in adjoint() local
27 largerEps = RealScalar(1e-3f); in adjoint()
51 …(s1 * v1 + s2 * v2).eigen2_dot(v3), s1 * v1.eigen2_dot(v3) + s2 * v2.eigen2_dot(v3), largerEps)); in adjoint()
52 …t(s1 * v1 + s2 * v2), ei_conj(s1)*v3.eigen2_dot(v1)+ei_conj(s2)*v3.eigen2_dot(v2), largerEps)); in adjoint()
62 …VERIFY(ei_isApprox(v1.eigen2_dot(square * v2), (square.adjoint() * v1).eigen2_dot(v2), largerEps)); in adjoint()
Deigen2_eigensolver.cpp31 RealScalar largerEps = 10*test_precision<RealScalar>(); in selfadjointeigensolver() local
63 VERIFY((symmA * _evec).isApprox(_evec * _eval.asDiagonal(), largerEps)); in selfadjointeigensolver()
74 VERIFY((symmA * _evec).isApprox(symmB * (_evec * _eval.asDiagonal()), largerEps)); in selfadjointeigensolver()
89 eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal(), largerEps)); in selfadjointeigensolver()
93 symmB * (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); in selfadjointeigensolver()
Deigen2_triangular.cpp17 RealScalar largerEps = 10*test_precision<RealScalar>(); in triangular() local
86 …Y(m2.isApprox(m3 * (m3.template marked<Eigen::UpperTriangular>().solveTriangular(m2)), largerEps)); in triangular()
88 …Y(m2.isApprox(m3 * (m3.template marked<Eigen::LowerTriangular>().solveTriangular(m2)), largerEps)); in triangular()
Deigen2_svd.cpp28 RealScalar largerEps = test_precision<RealScalar>(); in svd() local
30 largerEps = 1e-3f; in svd()