cppcode/mdmath.cpp File Reference

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"
Include dependency graph for mdmath.cpp:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

PCA computation using Eigen template library (http://eigen.tuxfamily.org/).

Version:
1.0
Author:
Jose-Luis Lisani; <joseluis.lisani@uib.es>

Definition in file mdmath.cpp.


Function Documentation

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

Parameters:
[in] C covariance matrix
[out] vd variances associated to the principal components
[out] PCs principal components

Definition at line 48 of file mdmath.cpp.

Here is the caller graph for this function:

 All Classes Files Functions Variables Defines
Generated on Fri Jul 8 12:55:46 2011 for color dimensional filtering by  doxygen 1.6.3