![]() |
aimsalgo
5.1.2
Neuroimaging image processing
|
#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... | |
enum AimsEigen::EigenReturnType |
|
inline |
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. \
wi | return the diagonal matrix of the imaginary parts of the eigenvalues if *wi exists. |
Referenced by aims::meshdistance::NormalFromPoints(), and Moment< T >::orientation().
|
inline |
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().