|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 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 sum(const Histogram &h)
double sigma(const Histogram &h)
Compute the bin-weighted standard deviation.
size_t min_bin(const Histogram &h)
double max_value(const Histogram &h)
size_t max_bin(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.
double min_value(const Histogram &h)
double median(const Histogram &h)