Home
last modified time | relevance | path

Searched refs:symmA (Results 1 – 4 of 4) sorted by relevance

/external/eigen/test/
Deigensolver_selfadjoint.cpp31 MatrixType symmA = a.adjoint() * a + a1.adjoint() * a1; in selfadjointeigensolver() local
32 symmA.template triangularView<StrictlyUpper>().setZero(); in selfadjointeigensolver()
39 SelfAdjointEigenSolver<MatrixType> eiSymm(symmA); in selfadjointeigensolver()
41 eiDirect.computeDirect(symmA); in selfadjointeigensolver()
43 GeneralizedSelfAdjointEigenSolver<MatrixType> eiSymmGen(symmA, symmB); in selfadjointeigensolver()
46 VERIFY((symmA.template selfadjointView<Lower>() * eiSymm.eigenvectors()).isApprox( in selfadjointeigensolver()
48 VERIFY_IS_APPROX(symmA.template selfadjointView<Lower>().eigenvalues(), eiSymm.eigenvalues()); in selfadjointeigensolver()
51 VERIFY((symmA.template selfadjointView<Lower>() * eiDirect.eigenvectors()).isApprox( in selfadjointeigensolver()
53 VERIFY_IS_APPROX(symmA.template selfadjointView<Lower>().eigenvalues(), eiDirect.eigenvalues()); in selfadjointeigensolver()
55 SelfAdjointEigenSolver<MatrixType> eiSymmNoEivecs(symmA, false); in selfadjointeigensolver()
[all …]
Deigensolver_generic.cpp31 MatrixType symmA = a.adjoint() * a + a1.adjoint() * a1; in eigensolver() local
33 EigenSolver<MatrixType> ei0(symmA); in eigensolver()
35 …VERIFY_IS_APPROX(symmA * ei0.pseudoEigenvectors(), ei0.pseudoEigenvectors() * ei0.pseudoEigenvalue… in eigensolver()
36 …VERIFY_IS_APPROX((symmA.template cast<Complex>()) * (ei0.pseudoEigenvectors().template cast<Comple… in eigensolver()
Deigensolver_complex.cpp46 MatrixType symmA = a.adjoint() * a; in eigensolver() local
48 ComplexEigenSolver<MatrixType> ei0(symmA); in eigensolver()
50 VERIFY_IS_APPROX(symmA * ei0.eigenvectors(), ei0.eigenvectors() * ei0.eigenvalues().asDiagonal()); in eigensolver()
/external/eigen/test/eigen2/
Deigen2_eigensolver.cpp35 MatrixType symmA = a.adjoint() * a + a1.adjoint() * a1; in selfadjointeigensolver() local
41 SelfAdjointEigenSolver<MatrixType> eiSymm(symmA); in selfadjointeigensolver()
43 SelfAdjointEigenSolver<MatrixType> eiSymmGen(symmA, symmB); in selfadjointeigensolver()
53 convert<MatrixType>(symmA, gSymmA); in selfadjointeigensolver()
55 convert<MatrixType>(symmA, gEvec); in selfadjointeigensolver()
63 VERIFY((symmA * _evec).isApprox(_evec * _eval.asDiagonal(), largerEps)); in selfadjointeigensolver()
74 VERIFY((symmA * _evec).isApprox(symmB * (_evec * _eval.asDiagonal()), largerEps)); in selfadjointeigensolver()
88 VERIFY((symmA * eiSymm.eigenvectors()).isApprox( in selfadjointeigensolver()
92 VERIFY((symmA * eiSymmGen.eigenvectors()).isApprox( in selfadjointeigensolver()
96 VERIFY_IS_APPROX(symmA, sqrtSymmA*sqrtSymmA); in selfadjointeigensolver()
[all …]