Eigen values/vectors solver for selfadjoint matrix. More...
#include <SelfAdjointEigenSolver.h>
Public Types | |
enum | { Size = _MatrixType::RowsAtCompileTime } |
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 &matA, const MatrixType &matB, bool computeEigenvectors=true) |
void | compute (const MatrixType &matrix, bool computeEigenvectors=true) |
RealVectorType | eigenvalues (void) const |
MatrixType | eigenvectors (void) const |
MatrixType | operatorInverseSqrt () const |
MatrixType | operatorSqrt () const |
SelfAdjointEigenSolver (const MatrixType &matA, const MatrixType &matB, bool computeEigenvectors=true) | |
SelfAdjointEigenSolver (const MatrixType &matrix, bool computeEigenvectors=true) | |
SelfAdjointEigenSolver (int size) | |
SelfAdjointEigenSolver () | |
Protected Attributes | |
bool | m_eigenvectorsOk |
RealVectorType | m_eivalues |
MatrixType | m_eivec |
Eigen values/vectors solver for selfadjoint matrix.
MatrixType | the type of the matrix of which we are computing the eigen decomposition |
Definition at line 41 of file SelfAdjointEigenSolver.h.
typedef std::complex<RealScalar> SelfAdjointEigenSolver< _MatrixType >::Complex |
Definition at line 49 of file SelfAdjointEigenSolver.h.
typedef _MatrixType SelfAdjointEigenSolver< _MatrixType >::MatrixType |
Definition at line 46 of file SelfAdjointEigenSolver.h.
typedef NumTraits<Scalar>::Real SelfAdjointEigenSolver< _MatrixType >::RealScalar |
Definition at line 48 of file SelfAdjointEigenSolver.h.
typedef Matrix<RealScalar, MatrixType::ColsAtCompileTime, 1> SelfAdjointEigenSolver< _MatrixType >::RealVectorType |
Definition at line 50 of file SelfAdjointEigenSolver.h.
typedef Matrix<RealScalar, Dynamic, 1> SelfAdjointEigenSolver< _MatrixType >::RealVectorTypeX |
Definition at line 51 of file SelfAdjointEigenSolver.h.
typedef MatrixType::Scalar SelfAdjointEigenSolver< _MatrixType >::Scalar |
Definition at line 47 of file SelfAdjointEigenSolver.h.
typedef Tridiagonalization<MatrixType> SelfAdjointEigenSolver< _MatrixType >::TridiagonalizationType |
Definition at line 52 of file SelfAdjointEigenSolver.h.
anonymous enum |
Definition at line 45 of file SelfAdjointEigenSolver.h.
SelfAdjointEigenSolver< _MatrixType >::SelfAdjointEigenSolver | ( | ) | [inline] |
Definition at line 54 of file SelfAdjointEigenSolver.h.
SelfAdjointEigenSolver< _MatrixType >::SelfAdjointEigenSolver | ( | int | size | ) | [inline] |
Definition at line 61 of file SelfAdjointEigenSolver.h.
SelfAdjointEigenSolver< _MatrixType >::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.
Definition at line 71 of file SelfAdjointEigenSolver.h.
SelfAdjointEigenSolver< _MatrixType >::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.
Definition at line 85 of file SelfAdjointEigenSolver.h.
void SelfAdjointEigenSolver< MatrixType >::compute | ( | const MatrixType & | matA, | |
const MatrixType & | matB, | |||
bool | computeEigenvectors = true | |||
) | [inline] |
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.
Definition at line 253 of file SelfAdjointEigenSolver.h.
void SelfAdjointEigenSolver< MatrixType >::compute | ( | const MatrixType & | matrix, | |
bool | computeEigenvectors = true | |||
) | [inline] |
Computes the eigenvalues of the selfadjoint matrix matrix, as well as the eigenvectors if computeEigenvectors is true.
Definition at line 184 of file SelfAdjointEigenSolver.h.
RealVectorType SelfAdjointEigenSolver< _MatrixType >::eigenvalues | ( | void | ) | const [inline] |
Definition at line 106 of file SelfAdjointEigenSolver.h.
MatrixType SelfAdjointEigenSolver< _MatrixType >::eigenvectors | ( | void | ) | const [inline] |
Definition at line 97 of file SelfAdjointEigenSolver.h.
MatrixType SelfAdjointEigenSolver< _MatrixType >::operatorInverseSqrt | ( | ) | const [inline] |
Definition at line 121 of file SelfAdjointEigenSolver.h.
MatrixType SelfAdjointEigenSolver< _MatrixType >::operatorSqrt | ( | ) | const [inline] |
Definition at line 112 of file SelfAdjointEigenSolver.h.
bool SelfAdjointEigenSolver< _MatrixType >::m_eigenvectorsOk [protected] |
Definition at line 131 of file SelfAdjointEigenSolver.h.
RealVectorType SelfAdjointEigenSolver< _MatrixType >::m_eivalues [protected] |
Definition at line 129 of file SelfAdjointEigenSolver.h.
MatrixType SelfAdjointEigenSolver< _MatrixType >::m_eivec [protected] |
Definition at line 128 of file SelfAdjointEigenSolver.h.