Antonie
Public Member Functions | Friends
VarMeanEstimator Class Reference

Rapid estimator of variance and mean of a series of doubles. More...

#include <misc.hh>

List of all members.

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

Detailed Description

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


Constructor & Destructor Documentation


Member Function Documentation

void VarMeanEstimator::operator() ( double  val) [inline]

Friends And Related Function Documentation

double mean ( const VarMeanEstimator vme) [friend]

extract 'mean' from a VarMeanEstimator

double variance ( const VarMeanEstimator vme) [friend]

extract 'variance' from a VarMeanEstimator


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines