All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pca.h File Reference

principal component analysis (PCA) More...

Go to the source code of this file.


struct PCAff_pca_init (int n)
void ff_pca_free (struct PCA *pca)
void ff_pca_add (struct PCA *pca, double *v)
int ff_pca (struct PCA *pca, double *eigenvector, double *eigenvalue)

Detailed Description

principal component analysis (PCA)

Definition in file pca.h.

Function Documentation

struct PCA* ff_pca_init ( int  n)

Definition at line 38 of file pca.c.

void ff_pca_free ( struct PCA pca)

Definition at line 53 of file pca.c.

void ff_pca_add ( struct PCA pca,
double *  v 

Definition at line 60 of file pca.c.

int ff_pca ( struct PCA pca,
double *  eigenvector,
double *  eigenvalue 

Definition at line 72 of file pca.c.