![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
#include <aims/math/eigen.h>
Public Types | |
enum | EigenReturnType { MatrixOfEigenValues, VectorOfEigenValues } |
Public Member Functions | |
void | setReturnType (EigenReturnType rt) |
AimsData< T > | doit (AimsData< T > &, AimsData< T > *wi=NULL) |
Eigen system resolution function. More... | |
void | sort (AimsData< T > &eigenvectors, AimsData< T > &eigenvalues, AimsData< T > *wi=NULL) |
Sort the eigenvectors and eigenvalues in decreasing order. More... | |
Constructor and destructor | |
AimsEigen (EigenReturnType rt=MatrixOfEigenValues) | |
constructor. More... | |
virtual | ~AimsEigen () |
destructor More... | |
enum AimsEigen::EigenReturnType |
|
inline |
AimsData< T > AimsEigen< T >::doit | ( | AimsData< T > & | , |
AimsData< 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. \
wi | return the diagonal matrix of the imaginary parts of the eigenvalues if *wi exists. |
Referenced by aims::meshdistance::NormalFromPoints(), Moment< int16_t >::orientation(), and AimsEigen< T >::setReturnType().
|
inline |
Definition at line 65 of file eigen.h.
References AimsEigen< T >::doit(), and AimsEigen< T >::sort().
void AimsEigen< T >::sort | ( | AimsData< T > & | eigenvectors, |
AimsData< T > & | eigenvalues, | ||
AimsData< T > * | wi = NULL |
||
) |
Sort the eigenvectors and eigenvalues in decreasing order.
Referenced by aims::meshdistance::NormalFromPoints(), Moment< int16_t >::orientation(), and AimsEigen< T >::setReturnType().