Template Class Accumulator

Class Documentation

template<typename SampleType, typename SumType, int WindowSize>
class statistics::Accumulator

Public Functions

inline Accumulator()
inline void Add(SampleType sample)
inline int total_samples() const
inline SumType sum() const
inline SumType Mean() const
inline SumType RollingMean() const
inline SampleType GetMostRecent() const
inline SumType max() const
inline SumType min() const
inline SumType LazyVariance() const
inline SumType StandardDeviation() const
inline const std::vector<SampleType> &GetSamples() const