Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Functions
Saf::Math::Algebra::Eigenvectors Namespace Reference

Eigenvectors and eigenvalues computation routines. More...

Functions

template<Size N, class T >
void DecomposeSymmetric (const Matrix< N, N, T > &mat, Matrix< N, N, T > &eigVec, Vector< N, T > &eigVal)
 Find eigenvectors and eigenvalues of a symmetric matrix.

Detailed Description

Eigenvectors and eigenvalues computation routines.


Function Documentation

template<Size N, class T >
void SAF_DLL_EXPORT Saf::Math::Algebra::Eigenvectors::DecomposeSymmetric ( const Matrix< N, N, T > &  mat,
Matrix< N, N, T > &  eigVec,
Vector< N, T > &  eigVal 
)

Find eigenvectors and eigenvalues of a symmetric matrix.

Parameters:
[in]matInput matrix.
[out]eigVecColumns of this matrix are the eigenvectors.
[out]eigValVector of eigenvalues.
Remarks:
Based on the source from http://barnesc.blogspot.com/2007/02/eigenvectors-of-3x3-symmetric-matrix.html.