
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. | |
| 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.

1.6.3