Vita
Public Member Functions | List of all members
vita::distribution< T > Class Template Reference

Simplifies the calculation of statistics regarding a sequence (mean, variance, standard deviation, entropy, min and max). More...

#include <distribution.h>

Public Member Functions

template<class U >
void add (U)
 
void clear ()
 
std::uintmax_t count () const
 
double entropy () const
 
bool is_valid () const
 
bool load (std::istream &)
 
max () const
 
mean () const
 
min () const
 
bool save (std::ostream &) const
 
const std::map< T, std::uintmax_t > & seen () const
 
standard_deviation () const
 
variance () const
 

Detailed Description

template<class T>
class vita::distribution< T >

Simplifies the calculation of statistics regarding a sequence (mean, variance, standard deviation, entropy, min and max).

Definition at line 30 of file distribution.h.


The documentation for this class was generated from the following file: