/external/eigen/doc/snippets/ |
ComplexEigenSolver_eigenvalues.cpp | 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" 4 << endl << ces.eigenvalues() << endl;
|
EigenSolver_eigenvalues.cpp | 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" 4 << endl << es.eigenvalues() << endl;
|
MatrixBase_eigenvalues.cpp | 2 VectorXcd eivals = ones.eigenvalues(); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl;
|
SelfAdjointEigenSolver_eigenvalues.cpp | 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" 4 << endl << es.eigenvalues() << endl;
|
SelfAdjointView_eigenvalues.cpp | 2 VectorXd eivals = ones.selfadjointView<Lower>().eigenvalues(); 3 cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl;
|
EigenSolver_compute.cpp | 4 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 5 es.compute(A + MatrixXf::Identity(4,4), false); // re-use es to compute eigenvalues of A+I 6 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp | 5 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 6 es.compute(A + Matrix4f::Identity(4,4)); // re-use es to compute eigenvalues of A+I 7 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
SelfAdjointEigenSolver_compute_MatrixType.cpp | 5 cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 6 es.compute(A + MatrixXf::Identity(4,4)); // re-use es to compute eigenvalues of A+I 7 cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;
|
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;
|
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;
|
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();
|
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();
|
SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 9 cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl; 12 double lambda = es.eigenvalues()[0];
|
/external/eigen/Eigen/src/Eigenvalues/ |
MatrixBaseEigenvalues.h | 27 return ComplexEigenSolver<PlainObject>(m_eval, false).eigenvalues(); 39 return EigenSolver<PlainObject>(m_eval, false).eigenvalues(); 45 /** \brief Computes the eigenvalues of a matrix 46 * \returns Column vector containing the eigenvalues. 49 * This function computes the eigenvalues with the help of the EigenSolver 53 * The eigenvalues are repeated according to their algebraic multiplicity, 54 * so there are as many eigenvalues as rows in the matrix. 62 * \sa EigenSolver::eigenvalues(), ComplexEigenSolver::eigenvalues(), 63 * SelfAdjointView::eigenvalues() 67 MatrixBase<Derived>::eigenvalues() const function in class:Eigen::MatrixBase 89 SelfAdjointView<MatrixType, UpLo>::eigenvalues() const function in class:Eigen::SelfAdjointView [all...] |
/external/chromium_org/ui/gfx/ |
matrix3_f.cc | 134 float eigenvalues[3]; local 142 eigenvalues[0] = data_[M00]; 143 eigenvalues[1] = data_[M11]; 144 eigenvalues[2] = data_[M22]; 169 eigenvalues[0] = q + 2 * p * static_cast<float>(cos(phi)); 170 eigenvalues[2] = q + 2 * p * 172 eigenvalues[1] = 3 * q - eigenvalues[0] - eigenvalues[2]; 175 // Put eigenvalues in the descending order [all...] |
/external/eigen/doc/examples/ |
TutorialLinAlgSelfAdjointEigenSolver.cpp | 14 cout << "The eigenvalues of A are:\n" << eigensolver.eigenvalues() << endl; 16 << "corresponding to these eigenvalues:\n"
|
/external/eigen/test/ |
eigensolver_complex.cpp | 13 #include <Eigen/Eigenvalues> 53 VERIFY_IS_APPROX(symmA * ei0.eigenvectors(), ei0.eigenvectors() * ei0.eigenvalues().asDiagonal()); 57 VERIFY_IS_APPROX(a * ei1.eigenvectors(), ei1.eigenvectors() * ei1.eigenvalues().asDiagonal()); 58 // Note: If MatrixType is real then a.eigenvalues() uses EigenSolver and thus 60 verify_is_approx_upto_permutation(a.eigenvalues(), ei1.eigenvalues()); 64 VERIFY_IS_APPROX(ei1.eigenvalues(), eiNoEivecs.eigenvalues()); 69 VERIFY((eiz.eigenvalues().cwiseEqual(0)).all()); 87 VERIFY_RAISES_ASSERT(eig.eigenvalues()); [all...] |
eigensolver_selfadjoint.cpp | 13 #include <Eigen/Eigenvalues> 50 eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal(), largerEps)); 51 VERIFY_IS_APPROX(symmA.template selfadjointView<Lower>().eigenvalues(), eiSymm.eigenvalues()); 55 eiDirect.eigenvectors() * eiDirect.eigenvalues().asDiagonal(), largerEps)); 56 VERIFY_IS_APPROX(symmA.template selfadjointView<Lower>().eigenvalues(), eiDirect.eigenvalues()); 60 VERIFY_IS_APPROX(eiSymm.eigenvalues(), eiSymmNoEivecs.eigenvalues()); 66 symmB.template selfadjointView<Lower>() * (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)) [all...] |
eigensolver_generic.cpp | 13 #include <Eigen/Eigenvalues> 38 (ei0.pseudoEigenvectors().template cast<Complex>()) * (ei0.eigenvalues().asDiagonal())); 44 ei1.eigenvectors() * ei1.eigenvalues().asDiagonal()); 46 VERIFY_IS_APPROX(a.eigenvalues(), ei1.eigenvalues()); 50 VERIFY_IS_APPROX(ei1.eigenvalues(), eiNoEivecs.eigenvalues()); 71 VERIFY_RAISES_ASSERT(eig.eigenvalues());
|
/external/eigen/Eigen/src/Eigen2Support/ |
LeastSquares.h | 161 *soundness = eig.eigenvalues().coeff(0)/eig.eigenvalues().coeff(1);
|
/external/eigen/test/eigen2/ |
eigen2_eigensolver.cpp | 66 VERIFY_IS_APPROX(_eval, eiSymm.eigenvalues()); 78 VERIFY_IS_APPROX(_eval, eiSymmGen.eigenvalues()); 89 eiSymm.eigenvectors() * eiSymm.eigenvalues().asDiagonal(), largerEps)); 93 symmB * (eiSymmGen.eigenvectors() * eiSymmGen.eigenvalues().asDiagonal()), largerEps)); 123 (ei0.pseudoEigenvectors().template cast<Complex>()) * (ei0.eigenvalues().asDiagonal())); 128 ei1.eigenvectors() * ei1.eigenvalues().asDiagonal());
|
/external/eigen/lapack/ |
eigenvalues.cpp | 11 #include <Eigen/Eigenvalues> 74 vector(w,*n) = eig.eigenvalues();
|
/external/eigen/unsupported/test/ |
matrix_square_root.cpp | 16 // for real matrices, make sure none of the eigenvalues are negative 24 typename EigenSolver<MatrixType>::EigenvalueType eivals = es.eigenvalues();
|
mpreal_support.cpp | 4 #include <Eigen/Eigenvalues> 46 // symmetric eigenvalues 50 eig.eigenvectors() * eig.eigenvalues().asDiagonal());
|
/external/ceres-solver/internal/ceres/ |
polynomial.cc | 47 // "Balancing a Matrix for Calculation of Eigenvalues and Eigenvectors". 164 // Find its (complex) eigenvalues. 167 LOG(ERROR) << "Failed to extract eigenvalues from companion matrix."; 173 *real = solver.eigenvalues().real(); 180 *imaginary = solver.eigenvalues().imag();
|