SPRAAK
|
calculate second order statistics on data More...
Data Structures | |
struct | SprStatsStats |
(this module ignores this pointer) More... | |
Enumerations | |
enum | { SPR_STATS_MEAN, SPR_STATS_SIGMA, SPR_STATS_COVAR, SPR_STATS_MOMENTS_ONLY } |
Functions | |
SprStatsStats * | spr_stats_free (SprStatsStats *stats) |
void | spr_stats_init (SprStatsStats *stats) |
SprStatsStats * | spr_stats_alloc (SprStatsStats *stats, int what, int vlen) |
void | spr_stats_update (SprStatsStats *stats, const SprMathReal *data, int what) |
void | spr_stats_wupdate (SprStatsStats *stats, const SprMathReal *data, float weight, int what) |
int | spr_stats_calc (SprStatsStats *stats, int what, const SprMathReal *const *Data, int ndata) |
calculate second order statistics on data
Calculate mean, sigma and the covariance matrix on a data-set.