#include <picture.h>
Public Member Functions | |
pca3d () | |
~pca3d () | |
void | addsample (int *sample) |
void | getpcs (double *mout, double *eigval, double *eigvec) |
Private Member Functions | |
void | calc_mean_and_covariance () |
Private Attributes | |
int | numsamples |
double | totals [3] |
double | crosstotals [3][3] |
double | stddevs [3] |
double | mean [3] |
double | cov [3][3] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|