/external/eigen/test/ |
D | eigensolver_selfadjoint.cpp | 31 VERIFY(eiSymm.eigenvalues().cwiseAbs().maxCoeff() <= (std::numeric_limits<RealScalar>::min)()); in selfadjointeigensolver_essential_check() 36 (eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal())/scaling); in selfadjointeigensolver_essential_check() 38 VERIFY_IS_APPROX(m.template selfadjointView<Lower>().eigenvalues(), eiSymm.eigenvalues()); in selfadjointeigensolver_essential_check() 46 if(! eiSymm.eigenvalues().isApprox(eiDirect.eigenvalues(), eival_eps) ) in selfadjointeigensolver_essential_check() 48 std::cerr << "reference eigenvalues: " << eiSymm.eigenvalues().transpose() << "\n" in selfadjointeigensolver_essential_check() 49 << "obtained eigenvalues: " << eiDirect.eigenvalues().transpose() << "\n" in selfadjointeigensolver_essential_check() 50 … << "diff: " << (eiSymm.eigenvalues()-eiDirect.eigenvalues()).transpose() << "\n" in selfadjointeigensolver_essential_check() 51 …<< "error (eps): " << (eiSymm.eigenvalues()-eiDirect.eigenvalues()).norm() / eiSymm.eige… in selfadjointeigensolver_essential_check() 55 … VERIFY(eiDirect.eigenvalues().cwiseAbs().maxCoeff() <= (std::numeric_limits<RealScalar>::min)()); in selfadjointeigensolver_essential_check() 59 VERIFY_IS_APPROX(eiSymm.eigenvalues()/scaling, eiDirect.eigenvalues()/scaling); in selfadjointeigensolver_essential_check() [all …]
|
D | eigensolver_generic.cpp | 25 eig.eigenvectors() * eig.eigenvalues().asDiagonal()); in check_eigensolver_for_given_mat() 27 VERIFY_IS_APPROX(a.eigenvalues(), eig.eigenvalues()); in check_eigensolver_for_given_mat() 50 (ei0.pseudoEigenvectors().template cast<Complex>()) * (ei0.eigenvalues().asDiagonal())); in eigensolver() 59 VERIFY_IS_EQUAL(ei2.eigenvalues(), ei1.eigenvalues()); in eigensolver() 68 VERIFY_IS_APPROX(ei1.eigenvalues(), eiNoEivecs.eigenvalues()); in eigensolver() 93 VERIFY_IS_MUCH_SMALLER_THAN(ei3.eigenvalues().norm(),RealScalar(1)); in eigensolver() 104 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert() 137 …VERIFY_IS_APPROX(a * eig.eigenvectors()*scale, eig.eigenvectors() * eig.eigenvalues().asDiagonal()… in eigensolver_generic_extra() 149 VERIFY_IS_APPROX((eig.eigenvectors() * eig.eigenvalues().asDiagonal()).norm()+1., 1.); in eigensolver_generic_extra() 171 ac.diagonal().array() -= eig.eigenvalues()(i); in eigensolver_generic_extra()
|
D | eigensolver_complex.cpp | 88 VERIFY_IS_APPROX(symmA * ei0.eigenvectors(), ei0.eigenvectors() * ei0.eigenvalues().asDiagonal()); in eigensolver() 92 VERIFY_IS_APPROX(a * ei1.eigenvectors(), ei1.eigenvectors() * ei1.eigenvalues().asDiagonal()); in eigensolver() 95 verify_is_approx_upto_permutation(a.eigenvalues(), ei1.eigenvalues()); in eigensolver() 101 VERIFY_IS_EQUAL(ei2.eigenvalues(), ei1.eigenvalues()); in eigensolver() 110 VERIFY_IS_APPROX(ei1.eigenvalues(), eiNoEivecs.eigenvalues()); in eigensolver() 115 VERIFY((eiz.eigenvalues().cwiseEqual(0)).all()); in eigensolver() 139 VERIFY_IS_MUCH_SMALLER_THAN(ei3.eigenvalues().norm(),RealScalar(1)); in eigensolver() 148 VERIFY_RAISES_ASSERT(eig.eigenvalues()); in eigensolver_verify_assert()
|
D | eigensolver_generalized_real.cpp | 40 VERIFY_IS_EQUAL(eig.eigenvalues().imag().cwiseAbs().maxCoeff(), 0); in generalized_eigensolver_real() 42 VectorType realEigenvalues = eig.eigenvalues().real(); in generalized_eigensolver_real() 44 VERIFY_IS_APPROX(realEigenvalues, symmEig.eigenvalues()); in generalized_eigensolver_real() 47 … typename GeneralizedEigenSolver<MatrixType>::EigenvectorsType D = eig.eigenvalues().asDiagonal(); in generalized_eigensolver_real() 67 … typename GeneralizedEigenSolver<MatrixType>::EigenvectorsType D = eig.eigenvalues().asDiagonal(); in generalized_eigensolver_real() 84 VERIFY_IS_APPROX(eig1.eigenvalues(), eig2.eigenvalues()); in generalized_eigensolver_real()
|
D | gpu_basic.cu | 313 res = eig.eigenvalues(); in operator ()() 318 struct eigenvalues { struct 329 res = eig.eigenvalues(); in operator ()() argument 457 CALL_SUBTEST( run_and_compare_to_gpu(eigenvalues<Matrix4f>(), nthreads, in, out) ); in EIGEN_DECLARE_TEST() 459 CALL_SUBTEST( run_and_compare_to_gpu(eigenvalues<Matrix6f>(), nthreads, in, out) ); in EIGEN_DECLARE_TEST()
|
/external/libchrome/ui/gfx/geometry/ |
D | matrix3_f.cc | 163 float eigenvalues[3]; in SolveEigenproblem() local 171 eigenvalues[0] = data_[M00]; in SolveEigenproblem() 172 eigenvalues[1] = data_[M11]; in SolveEigenproblem() 173 eigenvalues[2] = data_[M22]; in SolveEigenproblem() 198 eigenvalues[0] = q + 2 * p * static_cast<float>(cos(phi)); in SolveEigenproblem() 199 eigenvalues[2] = in SolveEigenproblem() 201 eigenvalues[1] = 3 * q - eigenvalues[0] - eigenvalues[2]; in SolveEigenproblem() 206 if (eigenvalues[2] > eigenvalues[1]) { in SolveEigenproblem() 207 std::swap(eigenvalues[2], eigenvalues[1]); in SolveEigenproblem() 211 if (eigenvalues[1] > eigenvalues[0]) { in SolveEigenproblem() [all …]
|
/external/eigen/Eigen/src/Eigenvalues/ |
D | MatrixBaseEigenvalues.h | 27 return ComplexEigenSolver<PlainObject>(m_eval, false).eigenvalues(); in run() 39 return EigenSolver<PlainObject>(m_eval, false).eigenvalues(); 67 MatrixBase<Derived>::eigenvalues() const 88 SelfAdjointView<MatrixType, UpLo>::eigenvalues() const 91 return SelfAdjointEigenSolver<PlainObject>(thisAsMatrix, false).eigenvalues(); 129 .eigenvalues() 153 return eigenvalues().cwiseAbs().maxCoeff();
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SelfAdjointEigV2.pbtxt | 28 Otherwise, only the eigenvalues will be computed. 33 Computes the eigenvalues and (optionally) eigenvectors of each inner matrix in 34 `input` such that `input[..., :, :] = v[..., :, :] * diag(e[..., :])`. The eigenvalues 39 # e is a tensor of eigenvalues.
|
D | api_def_Eig.pbtxt | 28 Otherwise, only the eigenvalues will be computed. 33 Computes the eigenvalues and (optionally) right eigenvectors of each inner matrix in 34 `input` such that `input[..., :, :] = v[..., :, :] * diag(e[..., :])`. The eigenvalues 39 # e is a tensor of eigenvalues.
|
D | api_def_SelfAdjointEig.pbtxt | 22 eigenvalues, and subsequent [...,1:, :] containing the eigenvectors. The eigenvalues
|
D | api_def_MatrixSquareRoot.pbtxt | 24 have no eigenvalues which are real and negative (pairs of complex conjugate 25 eigenvalues are allowed).
|
/external/eigen/doc/snippets/ |
D | ComplexEigenSolver_compute.cpp | 6 cout << "The eigenvalues of A are:" << endl << ces.eigenvalues() << endl; 9 complex<float> lambda = ces.eigenvalues()[0]; 16 << ces.eigenvectors() * ces.eigenvalues().asDiagonal() * ces.eigenvectors().inverse() << endl;
|
D | EigenSolver_EigenSolver_MatrixType.cpp | 5 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 8 complex<double> lambda = es.eigenvalues()[0]; 14 MatrixXcd D = es.eigenvalues().asDiagonal();
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp | 6 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 9 double lambda = es.eigenvalues()[0]; 15 MatrixXd D = es.eigenvalues().asDiagonal();
|
D | EigenSolver_compute.cpp | 4 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 6 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
D | SelfAdjointEigenSolver_compute_MatrixType.cpp | 5 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 7 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp | 5 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 7 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
D | SelfAdjointEigenSolver_compute_MatrixType2.cpp | 7 cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl; 9 cout << "The eigenvalues of the pencil (B,A) are:" << endl << es.eigenvalues() << endl;
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 9 cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl; 12 double lambda = es.eigenvalues()[0];
|
D | MatrixBase_eigenvalues.cpp | 2 VectorXcd eivals = ones.eigenvalues();
|
D | SelfAdjointEigenSolver_eigenvalues.cpp | 4 << endl << es.eigenvalues() << endl;
|
D | EigenSolver_eigenvalues.cpp | 4 << endl << es.eigenvalues() << endl;
|
D | ComplexEigenSolver_eigenvalues.cpp | 4 << endl << ces.eigenvalues() << endl;
|
D | SelfAdjointView_eigenvalues.cpp | 2 VectorXd eivals = ones.selfadjointView<Lower>().eigenvalues();
|
/external/tensorflow/tensorflow/core/kernels/linalg/ |
D | self_adjoint_eig_v2_op_gpu.cc | 65 Tensor* eigenvalues; in ComputeAsync() local 69 context, context->allocate_output(0, eigenvalues_shape, &eigenvalues), in ComputeAsync() 89 eigenvalues_real = *eigenvalues; in ComputeAsync() 151 cast(device, eigenvalues->flat<Scalar>(), in ComputeAsync()
|