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

principal component analysis (PCA) More...

Go to the source code of this file.

Functions

struct PCAff_pca_init (int n)
 
void ff_pca_free (struct PCA *pca)
 
void ff_pca_add (struct PCA *pca, const 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 61 of file pca.c.

Referenced by ff_pca_init().

void ff_pca_add ( struct PCA pca,
const double *  v 
)

Definition at line 68 of file pca.c.

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

Definition at line 80 of file pca.c.