libavutil/pca.c File Reference
principal
component analysis (
PCA)
More...
#include "common.h"
#include "pca.h"
Go to the source code of this file.
Detailed Description
principal
component analysis (
PCA)
Definition in file pca.c.
Define Documentation
#define ROTATE |
( |
a, |
|
|
i, |
|
|
j, |
|
|
k, |
|
|
l |
|
) |
|
Value:
{\
double g=a[j + i*n];\
double h=a[l + k*n];\
a[j + i*n]=g-s*(h+g*tau);\
a[l + k*n]=h+s*(g-h*tau); }
Referenced by ff_pca().
Function Documentation
int ff_pca |
( |
PCA * |
pca, |
|
|
double * |
eigenvector, |
|
|
double * |
eigenvalue | |
|
) |
| | |
Definition at line 69 of file pca.c.
void ff_pca_add |
( |
PCA * |
pca, |
|
|
double * |
v | |
|
) |
| | |
Definition at line 57 of file pca.c.
void ff_pca_free |
( |
PCA * |
pca |
) |
|
Definition at line 51 of file pca.c.
PCA* ff_pca_init |
( |
int |
n |
) |
[read] |
Definition at line 37 of file pca.c.