|
Antonie
|
Rapid estimator of variance and mean of a series of doubles. More...
#include <misc.hh>
Public Member Functions | |
| VarMeanEstimator () | |
| void | operator() (double val) |
Friends | |
| double | mean (const VarMeanEstimator &vme) |
| extract 'mean' from a VarMeanEstimator | |
| double | variance (const VarMeanEstimator &vme) |
| extract 'variance' from a VarMeanEstimator | |
Rapid estimator of variance and mean of a series of doubles.
API compatible with a, sadly, far slower boost::accumulator_set doing the same thing
| VarMeanEstimator::VarMeanEstimator | ( | ) | [inline] |
| void VarMeanEstimator::operator() | ( | double | val | ) | [inline] |
| double mean | ( | const VarMeanEstimator & | vme | ) | [friend] |
extract 'mean' from a VarMeanEstimator
| double variance | ( | const VarMeanEstimator & | vme | ) | [friend] |
extract 'variance' from a VarMeanEstimator
1.7.6.1