![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkSymmetricEigenAnalysis.h>
Public Types | |
using | EigenMatrixType = TEigenMatrix |
using | MatrixType = TMatrix |
using | VectorType = TVector |
Public Member Functions | |
unsigned int | ComputeEigenValues (const TMatrix &A, TVector &EigenValues) const |
unsigned int | ComputeEigenValuesAndVectors (const TMatrix &A, TVector &EigenValues, TEigenMatrix &EigenVectors) const |
constexpr unsigned int | GetDimension () const |
constexpr unsigned int | GetOrder () const |
bool | GetOrderEigenMagnitudes () const |
bool | GetOrderEigenValues () const |
constexpr bool | GetUseEigenLibrary () const |
void | SetOrderEigenMagnitudes (const bool b) |
void | SetOrderEigenValues (const bool b) |
SymmetricEigenAnalysisFixedDimension ()=default | |
~SymmetricEigenAnalysisFixedDimension ()=default | |
Private Member Functions | |
template<typename QMatrix > | |
auto | ComputeEigenValuesAndVectorsWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, TEigenMatrix &EigenVectors, bool) const -> decltype(GetPointerToMatrixData(A), 1U) |
template<typename QMatrix > | |
auto | ComputeEigenValuesAndVectorsWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, TEigenMatrix &EigenVectors, long) const -> decltype(1U) |
template<typename QMatrix > | |
auto | ComputeEigenValuesWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, bool) const -> decltype(GetPointerToMatrixData(A), 1U) |
template<typename QMatrix > | |
auto | ComputeEigenValuesWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, long) const -> decltype(1U) |
template<typename QMatrix = TMatrix> | |
auto | GetMatrixValueType (bool) const -> typename QMatrix::element_type |
template<typename QMatrix = TMatrix> | |
auto | GetMatrixValueType (bool) const -> typename QMatrix::ValueType |
Private Attributes | |
EigenValueOrderEnum | m_OrderEigenValues { EigenValueOrderEnum::OrderByValue } |
Definition at line 758 of file itkSymmetricEigenAnalysis.h.
using itk::SymmetricEigenAnalysisFixedDimension< VDimension, TMatrix, TVector, TEigenMatrix >::EigenMatrixType = TEigenMatrix |
Definition at line 777 of file itkSymmetricEigenAnalysis.h.
using itk::SymmetricEigenAnalysisFixedDimension< VDimension, TMatrix, TVector, TEigenMatrix >::MatrixType = TMatrix |
Definition at line 776 of file itkSymmetricEigenAnalysis.h.
using itk::SymmetricEigenAnalysisFixedDimension< VDimension, TMatrix, TVector, TEigenMatrix >::VectorType = TVector |
Definition at line 778 of file itkSymmetricEigenAnalysis.h.
|
default |
|
default |
|
inline |
Compute Eigen values of A A is any type that overloads the [][] operator and contains the symmetric matrix. In practice only the upper triangle of the matrix will be accessed. (Both itk::Matrix and vnl_matrix overload [][] operator.)
'EigenValues' is any type that overloads the [] operator and will contain the eigen values.
No size checking is performed. A is expected to be a square matrix of size VDimension. 'EigenValues' is expected to be of length VDimension. The matrix is not checked to see if it is symmetric.
Definition at line 794 of file itkSymmetricEigenAnalysis.h.
|
inline |
Compute Eigen values and vectors of A A is any type that overloads the [][] operator and contains the symmetric matrix. In practice only the upper triangle of the matrix will be accessed. (Both itk::Matrix and vnl_matrix overload [][] operator.)
'EigenValues' is any type that overloads the [] operator and will contain the eigen values.
'EigenVectors' is any type that provides access to its elements with the [][] operator. It is expected be of size VDimension * VDimension.
No size checking is performed. A is expected to be a square matrix of size VDimension. 'EigenValues' is expected to be of length VDimension. The matrix is not checked to see if it is symmetric.
Each row of the matrix 'EigenVectors' represents an eigen vector. (unlike MATLAB where the columns of the [EigenVectors, EigenValues] = eig(A) contains the eigenvectors).
Definition at line 820 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 910 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 967 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 1068 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 1029 of file itkSymmetricEigenAnalysis.h.
|
inlineconstexpr |
Definition at line 865 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::Functor::SymmetricEigenAnalysisFixedDimensionFunction< TMatrixDimension, TInputImage::PixelType, TOutputImage::PixelType >::GetDimension(), and itk::operator<<().
|
inlineprivate |
Definition at line 888 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 894 of file itkSymmetricEigenAnalysis.h.
|
inlineconstexpr |
Definition at line 860 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inline |
Definition at line 855 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inline |
Definition at line 838 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inlineconstexpr |
Definition at line 870 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inline |
Definition at line 843 of file itkSymmetricEigenAnalysis.h.
|
inline |
Definition at line 826 of file itkSymmetricEigenAnalysis.h.
|
private |
Definition at line 876 of file itkSymmetricEigenAnalysis.h.