Developer Documentation
|
Class for principal component Analysis. More...
#include </PCA.hh>
Public Member Functions | |
PCA () | |
Constructor. More... | |
PCA (std::vector< VectorT > &_points, VectorT &_first, VectorT &_second, VectorT &_third) | |
~PCA () | |
Destructor. More... | |
VectorT | center_of_gravity (const std::vector< VectorT > &_points) |
void | pca (std::vector< VectorT > &_points, VectorT &_first, VectorT &_second, VectorT &_third) |
std::vector< double > & | getLastEigenValues () |
bool | SymRightEigenproblem (Matrix &_mat_A, Matrix &_mat_VR, std::vector< double > &_vec_EV) |
Private Types | |
typedef gmm::dense_matrix< double > | Matrix |
typedef std::vector< double > | Vector |
Private Attributes | |
std::vector< double > | lastEigenValues_ |
Class for principal component Analysis.
Class for principal component Analysis
|
private |
|
inline |
Pca::PCA< VectorT >::PCA | ( | std::vector< VectorT > & | _points, |
VectorT & | _first, | ||
VectorT & | _second, | ||
VectorT & | _third | ||
) |
Extended constructor Parameters : see pca()
Definition at line 85 of file PCAT_impl.hh.
Destructor.
Definition at line 91 of file PCAT_impl.hh.
|
inline |
Compute center of gravity for a vector of points
_points | set of points |
Definition at line 103 of file PCAT_impl.hh.
|
inline |
Definition at line 238 of file PCAT_impl.hh.
void Pca::PCA< VectorT >::pca | ( | std::vector< VectorT > & | _points, |
VectorT & | _first, | ||
VectorT & | _second, | ||
VectorT & | _third | ||
) |
Compute the principal component analysys for a vector of points
_points | set of points |
_first | First main axis |
_second | second main axis |
_third | third main axis |
Definition at line 169 of file PCAT_impl.hh.
bool Pca::PCA< VectorT >::SymRightEigenproblem | ( | Matrix & | _mat_A, |
Matrix & | _mat_VR, | ||
std::vector< double > & | _vec_EV | ||
) |
Definition at line 119 of file PCAT_impl.hh.
|
private |