cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
nmrSymmetricEigenProblem.h File Reference
#include <cisstNumerical/nmrNetlib.h>
#include <cisstVector/vctDynamicMatrix.h>
#include <cisstNumerical/nmrExport.h>

Go to the source code of this file.

Classes

class  nmrSymmetricEigenProblem
 
class  nmrSymmetricEigenProblem::Data
 

Functions

nmrSymmetricEigenProblem::Errno
CISST_EXPORT 
nmrSymmetricEigenProblem (vctDynamicMatrix< double > &A, vctDynamicVector< double > &D, vctDynamicMatrix< double > &V)
 Symmetric Eigenproblems (SEP) More...
 
nmrSymmetricEigenProblem::Errno
CISST_EXPORT 
nmrSymmetricEigenProblem (vctDynamicMatrix< double > &A, vctDynamicVector< double > &D, vctDynamicMatrix< double > &V, nmrSymmetricEigenProblem::Data &data)
 Symmetric Eigenproblems (SEP) More...
 

Function Documentation

Symmetric Eigenproblems (SEP)

Computes all the eigen values and eigen vectors of a symmetric matrix $ A \mathbf{x} = \lambda \mathbf{x} $ such that $ A = V D V^T $. The eigen values are sorted in ascending order. This function uses LAPACK dsyevr.

Parameters
[in]AThe $ N \times N $ column major matrix. The matrix A is modified during the evaluation. The matrix must be in column major.
[out]DThe vector of $ N $ eigen vectors. The vector must be allocated prior to calling.
[out]VThe $ N \times N $ matrix of eigen vectors. Eigen vectors are stored in the columns of D. The matrix must be column major and allocated prior to calling.
Returns
ESUCCESS if the computation was successful. EFAILURE otherwise.

Symmetric Eigenproblems (SEP)

Computes all the eigen values and eigen vectors of a symmetric matrix $ A \mathbf{x} = \lambda \mathbf{x} $ such that $ A = V D V^T $. The eigen values are sorted in ascending order. This function uses LAPACK dsyevr.

Parameters
[in]AThe $ N \times N $ column major matrix. The matrix A is modified during the evaluation. The matrix must be column major.
[out]DThe vector of $ N $ eigen vectors. The vector must be allocated before calling.
[out]VThe $ N \times N $ matrix of eigen vectors. Eigen vectors are stored in the columns of V. The matrix must be column major and allocated before calling.
[in]dataComputation data. This data can is filled during the initial call and can be reused in subsequent calls.
Returns
ESUCCESS if the computation was successful. EFAILURE otherwise.