1 #ifndef GENESIS_UTILS_MATH_HISTOGRAM_STATS_H_ 2 #define GENESIS_UTILS_MATH_HISTOGRAM_STATS_H_ 53 size_t min_bin(
const Histogram& h);
55 size_t max_bin(
const Histogram& h);
57 double median(
const Histogram& h);
66 double mean(
const Histogram& h);
75 double sigma(
const Histogram& h);
77 double sum(
const Histogram& h);
82 #endif // include guard double min_value(const Histogram &h)
double sigma(const Histogram &h)
Compute the bin-weighted standard deviation.
double median(const Histogram &h)
double sum(const Histogram &h)
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
double mean(const Histogram &h)
Compute the bin-weighted arithmetic mean.
size_t max_bin(const Histogram &h)
size_t min_bin(const Histogram &h)
double max_value(const Histogram &h)