ITK
5.1.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), static_cast< unsigned int >(1)) |
template<typename QMatrix > | |
auto | ComputeEigenValuesAndVectorsWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, TEigenMatrix &EigenVectors, long) const -> decltype(static_cast< unsigned int >(1)) |
template<typename QMatrix > | |
auto | ComputeEigenValuesWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, bool) const -> decltype(GetPointerToMatrixData(A), static_cast< unsigned int >(1)) |
template<typename QMatrix > | |
auto | ComputeEigenValuesWithEigenLibraryImpl (const QMatrix &A, TVector &EigenValues, long) const -> decltype(static_cast< unsigned int >(1)) |
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 762 of file itkSymmetricEigenAnalysis.h.
using itk::SymmetricEigenAnalysisFixedDimension< VDimension, TMatrix, TVector, TEigenMatrix >::EigenMatrixType = TEigenMatrix |
Definition at line 781 of file itkSymmetricEigenAnalysis.h.
using itk::SymmetricEigenAnalysisFixedDimension< VDimension, TMatrix, TVector, TEigenMatrix >::MatrixType = TMatrix |
Definition at line 780 of file itkSymmetricEigenAnalysis.h.
using itk::SymmetricEigenAnalysisFixedDimension< VDimension, TMatrix, TVector, TEigenMatrix >::VectorType = TVector |
Definition at line 782 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 798 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 824 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 914 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 972 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 1074 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 1034 of file itkSymmetricEigenAnalysis.h.
|
inlineconstexpr |
Definition at line 869 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::Functor::SymmetricEigenAnalysisFixedDimensionFunction< TMatrixDimension, TInputImage::PixelType, TOutputImage::PixelType >::GetDimension(), and itk::operator<<().
|
inlineprivate |
Definition at line 892 of file itkSymmetricEigenAnalysis.h.
|
inlineprivate |
Definition at line 898 of file itkSymmetricEigenAnalysis.h.
|
inlineconstexpr |
Definition at line 864 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inline |
Definition at line 859 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inline |
Definition at line 842 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inlineconstexpr |
Definition at line 874 of file itkSymmetricEigenAnalysis.h.
Referenced by itk::operator<<().
|
inline |
Definition at line 847 of file itkSymmetricEigenAnalysis.h.
|
inline |
Definition at line 830 of file itkSymmetricEigenAnalysis.h.
|
private |
Definition at line 880 of file itkSymmetricEigenAnalysis.h.