PCA computation using Eigen template library (http://eigen.tuxfamily.org/). More...
#include "../Eigen/Dense"
#include "Core"
#include "LU"
#include "Cholesky"
#include "QR"
#include "SVD"
#include "Geometry"
#include "Eigenvalues"
Go to the source code of this file.
Functions | |
void | compute_pca3 (double C[3][3], double vd[3], double PCs[3][3]) |
Principal Component Analysis. |
PCA computation using Eigen template library (http://eigen.tuxfamily.org/).
Definition in file mdmath.cpp.
void compute_pca3 | ( | double | C[3][3], | |
double | vd[3], | |||
double | PCs[3][3] | |||
) |
Principal Component Analysis.
Perform PCA given a covariance matrix. Uses Eigen template library to compute eigenvalues and eigenvectors of the covariance matrix
[in] | C | covariance matrix |
[out] | vd | variances associated to the principal components |
[out] | PCs | principal components |
Definition at line 48 of file mdmath.cpp.