A library for working with phylogenetic and population genetic data.
v0.27.0
utils/math/histogram/stats.hpp File Reference

Detailed Description

Header of Histogram statistics functions.

Definition in file utils/math/histogram/stats.hpp.

#include <cstddef>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

size_t max_bin (const Histogram &h)
 
double max_value (const Histogram &h)
 
double mean (const Histogram &h)
 Compute the bin-weighted arithmetic mean. More...
 
double median (const Histogram &h)
 
size_t min_bin (const Histogram &h)
 
double min_value (const Histogram &h)
 
double sigma (const Histogram &h)
 Compute the bin-weighted standard deviation. More...
 
double sum (const Histogram &h)