Eigen values/vectors solver for selfadjoint matrix. More...
Public Types | |
| enum | { Size } |
| typedef std::complex< RealScalar > | Complex |
| typedef _MatrixType | MatrixType |
| typedef NumTraits< Scalar >::Real | RealScalar |
|
typedef Matrix< RealScalar, MatrixType::ColsAtCompileTime, 1 > | RealVectorType |
|
typedef Matrix< RealScalar, Dynamic, 1 > | RealVectorTypeX |
| typedef MatrixType::Scalar | Scalar |
|
typedef Tridiagonalization < MatrixType > | TridiagonalizationType |
Public Member Functions | |
| void | compute (const MatrixType &matrix, bool computeEigenvectors=true) |
| void | compute (const MatrixType &matA, const MatrixType &matB, bool computeEigenvectors=true) |
| RealVectorType | eigenvalues (void) const |
| MatrixType | eigenvectors (void) const |
| MatrixType | operatorInverseSqrt () const |
| MatrixType | operatorSqrt () const |
| SelfAdjointEigenSolver (int size) | |
| SelfAdjointEigenSolver (const MatrixType &matA, const MatrixType &matB, bool computeEigenvectors=true) | |
| SelfAdjointEigenSolver (const MatrixType &matrix, bool computeEigenvectors=true) | |
Protected Attributes | |
| bool | m_eigenvectorsOk |
| RealVectorType | m_eivalues |
| MatrixType | m_eivec |
Eigen values/vectors solver for selfadjoint matrix.
This is defined in the QR module.
#include <Eigen/QR>
| MatrixType | the type of the matrix of which we are computing the eigen decomposition |
| SelfAdjointEigenSolver | ( | const MatrixType & | matrix, | |
| bool | computeEigenvectors = true | |||
| ) | [inline] |
Constructors computing the eigenvalues of the selfadjoint matrix matrix, as well as the eigenvectors if computeEigenvectors is true.
| SelfAdjointEigenSolver | ( | const MatrixType & | matA, | |
| const MatrixType & | matB, | |||
| bool | computeEigenvectors = true | |||
| ) | [inline] |
Constructors computing the eigenvalues of the generalized eigen problem
with matA the selfadjoint matrix
and matB the positive definite matrix
. The eigenvectors are computed if computeEigenvectors is true.
| void compute | ( | const MatrixType & | matrix, | |
| bool | computeEigenvectors = true | |||
| ) |
Computes the eigenvalues of the selfadjoint matrix matrix, as well as the eigenvectors if computeEigenvectors is true.
| void compute | ( | const MatrixType & | matA, | |
| const MatrixType & | matB, | |||
| bool | computeEigenvectors = true | |||
| ) |
Computes the eigenvalues of the generalized eigen problem
with matA the selfadjoint matrix
and matB the positive definite matrix
. The eigenvectors are computed if computeEigenvectors is true.
| RealVectorType eigenvalues | ( | void | ) | const [inline] |
| MatrixType eigenvectors | ( | void | ) | const [inline] |
| MatrixType operatorInverseSqrt | ( | ) | const [inline] |
| MatrixType operatorSqrt | ( | ) | const [inline] |
1.7.1