Class MEAL::Mean

template<class T>
class Mean : public Reference::Able

Pure virtual base class of objects that compute mean model parameters.

This pure virtual template base class defines the interface by which mean Function parameters may be accumulated and used.

Public Functions

virtual void integrate(const T *model) = 0

Add the Function parameters to the running mean.

virtual void update(T *model) const = 0

Update the model parameters with the current value of the mean.

inline virtual double chisq(const T *model) const

Return the normalized difference between the mean and model.