aimsalgo  5.1.2
Neuroimaging image processing
AimsEigen< T > Class Template Reference

#include <aims/math/eigen.h>

Public Types

enum  EigenReturnType { MatrixOfEigenValues , VectorOfEigenValues }
 

Constructor and destructor

 AimsEigen (EigenReturnType rt=MatrixOfEigenValues)
 constructor. More...
 
virtual ~AimsEigen ()
 destructor More...
 
void setReturnType (EigenReturnType rt)
 
carto::VolumeRef< T > doit (carto::VolumeRef< T >, carto::VolumeRef< T > *wi=NULL)
 Eigen system resolution function. More...
 
void sort (carto::VolumeRef< T > eigenvectors, carto::VolumeRef< T > eigenvalues, carto::VolumeRef< T > *wi=NULL)
 Sort the eigenvectors and eigenvalues in decreasing order. More...
 

Detailed Description

template<class T>
class AimsEigen< T >

Definition at line 48 of file eigen.h.

Member Enumeration Documentation

◆ EigenReturnType

template<class T >
enum AimsEigen::EigenReturnType
Enumerator
MatrixOfEigenValues 
VectorOfEigenValues 

Definition at line 52 of file eigen.h.

Constructor & Destructor Documentation

◆ AimsEigen()

template<class T >
AimsEigen< T >::AimsEigen ( EigenReturnType  rt = MatrixOfEigenValues)
inline

constructor.

\ Here, we suppose that we mainly want to solve general eigen system with a non-symmetric matrix on input

Definition at line 63 of file eigen.h.

◆ ~AimsEigen()

template<class T >
virtual AimsEigen< T >::~AimsEigen ( )
inlinevirtual

destructor

Definition at line 65 of file eigen.h.

Member Function Documentation

◆ doit()

template<class T >
carto::VolumeRef< T > AimsEigen< T >::doit ( carto::VolumeRef< T >  ,
carto::VolumeRef< T > *  wi = NULL 
)

Eigen system resolution function.

\ The various computation function used within this one are adapted from the Numerical Recipes in C.\ This function returns the diagonal matrix of eigenvalues, and the input matrix is transformed into a matrix which columns are the eigenvectors. \

Parameters
wireturn the diagonal matrix of the imaginary parts of the eigenvalues if *wi exists.

Referenced by aims::meshdistance::NormalFromPoints(), and Moment< T >::orientation().

◆ setReturnType()

template<class T >
void AimsEigen< T >::setReturnType ( EigenReturnType  rt)
inline

Definition at line 68 of file eigen.h.

◆ sort()

template<class T >
void AimsEigen< T >::sort ( carto::VolumeRef< T >  eigenvectors,
carto::VolumeRef< T >  eigenvalues,
carto::VolumeRef< T > *  wi = NULL 
)

Sort the eigenvectors and eigenvalues in decreasing order.

Referenced by aims::meshdistance::NormalFromPoints(), and Moment< T >::orientation().


The documentation for this class was generated from the following file: