Simplifies the calculation of statistics regarding a sequence (mean, variance, standard deviation, entropy, min and max).
More...
#include <distribution.h>
|
template<class U > |
void | add (U) |
|
void | clear () |
|
std::uintmax_t | count () const |
|
double | entropy () const |
|
bool | is_valid () const |
|
bool | load (std::istream &) |
|
T | max () const |
|
T | mean () const |
|
T | min () const |
|
bool | save (std::ostream &) const |
|
const std::map< T, std::uintmax_t > & | seen () const |
|
T | standard_deviation () const |
|
T | variance () const |
|
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: