#include <itkRealEigenDecomposition.h>
Eigenvalues and eigenvectors of a general real matrix, backed by Eigen.
Solves the eigenproblem of a general (non-symmetric) real matrix once in the constructor via Eigen's EigenSolver; the spectrum is in general complex. Results are stored as vnl containers of std::complex so no Eigen type appears in the public interface. For a symmetric matrix prefer SymmetricEigenDecomposition (real spectrum, faster).
This is the supported Eigen-backed replacement for the now-deprecated vnl_real_eigensystem (netlib EISPACK rg), which emits a deprecation warning under ITK_LEGACY_REMOVE and is removed under ITK_FUTURE_LEGACY_REMOVE.
Definition at line 54 of file itkRealEigenDecomposition.h.
Public Types | |
| using | ComplexMatrixType = vnl_matrix<ComplexType> |
| using | ComplexType = std::complex<TReal> |
| using | ComplexVectorType = vnl_vector<ComplexType> |
Public Member Functions | |
| const ComplexVectorType & | GetEigenvalues () const |
| const ComplexMatrixType & | GetEigenvectors () const |
| RealEigenDecomposition (const vnl_matrix< TReal > &M) | |
Private Attributes | |
| ComplexVectorType | m_Eigenvalues |
| ComplexMatrixType | m_Eigenvectors |
| using itk::RealEigenDecomposition< TReal >::ComplexMatrixType = vnl_matrix<ComplexType> |
Definition at line 58 of file itkRealEigenDecomposition.h.
| using itk::RealEigenDecomposition< TReal >::ComplexType = std::complex<TReal> |
Definition at line 57 of file itkRealEigenDecomposition.h.
| using itk::RealEigenDecomposition< TReal >::ComplexVectorType = vnl_vector<ComplexType> |
Definition at line 59 of file itkRealEigenDecomposition.h.
|
inlineexplicit |
Definition at line 61 of file itkRealEigenDecomposition.h.
References itk::detail::EigenComputationInfoString(), m_Eigenvalues, and m_Eigenvectors.
|
inline |
Complex eigenvalues, one per column of M (unsorted, Eigen order).
Definition at line 84 of file itkRealEigenDecomposition.h.
References m_Eigenvalues.
|
inline |
Complex eigenvectors as columns, aligned with GetEigenvalues().
Definition at line 91 of file itkRealEigenDecomposition.h.
References m_Eigenvectors.
|
private |
Definition at line 97 of file itkRealEigenDecomposition.h.
Referenced by GetEigenvalues(), and RealEigenDecomposition().
|
private |
Definition at line 98 of file itkRealEigenDecomposition.h.
Referenced by GetEigenvectors(), and RealEigenDecomposition().