KrisLibrary
1.0.0
|
Collects statistics (min,max,mean,stddev,etc) on floating-point data. More...
#include <StatCollector.h>
Public Attributes | |
double | n |
double | xmin |
double | xmax |
double | sum |
double | sumsquared |
Collects statistics (min,max,mean,stddev,etc) on floating-point data.
Collects datapoints incrementally and keeps statistics in a constant-sized structure.
There is a risk of numerical overflow and precision errors in the stddev and variance methods, when collecting many large values.
Print prints a concise, human-readable representation. Load and Save can be used for loading/saving to disk.
See also optimization/DistributionCollector.h