Template Class SampleStatistics

Class Documentation

template<typename TNum>
class SampleStatistics

Public Functions

inline SampleStatistics()
inline void clear()
inline void add_sample(const TNum x)
inline void combine(const SampleStatistics &other)
inline std::size_t n() const
inline double mean() const
inline double m2() const

The second moment.

inline double variance() const
inline TNum min() const
inline TNum max() const