KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
Statistics::OnlineMoments Struct Reference

Online calculation of mean, covariance, min/max of vectors. More...

#include <OnlineMoments.h>

Public Member Functions

void AddPoint (const Vector &x, Real weight=1.0)
 
void Clear ()
 

Public Attributes

Real sumWeight
 
Vector xmin
 
Vector xmax
 
Vector mean
 
Matrix cov
 

Detailed Description

Online calculation of mean, covariance, min/max of vectors.

For scalars, use utils/StatCollector


The documentation for this struct was generated from the following files: