#include <eigen_systems.h>
Public Methods | |
template<class MatrixType> | real_eigenvectors (const MatrixType &covariancematrix) |
Public Attributes | |
matrix | eigenvectors |
vector | eigenvalues |
Definition at line 11 of file eigen_systems.h.
|
Definition at line 15 of file eigen_systems.h. 00015 : 00016 eigenvectors(covariancematrix.get_rows(), covariancematrix.get_cols()), 00017 eigenvalues(covariancematrix.get_rows()) 00018 { 00019 gsl_eigen_symmv_workspace * work = gsl_eigen_symmv_alloc (covariancematrix.get_rows()); 00020 matrix s = covariancematrix; 00021 gsl_eigen_symmv (s.gslobj(), eigenvalues.gslobj(), eigenvectors.gslobj(), work) ; 00022 gsl_eigen_symmv_free (work); 00023 gsl_eigen_symmv_sort (eigenvalues.gslobj(), eigenvectors.gslobj(), GSL_EIGEN_SORT_VAL_DESC) ; 00024 } |
|
Definition at line 26 of file eigen_systems.h. |
|
Definition at line 25 of file eigen_systems.h. |