#include <cstddef>
#include <cstdint>
#include <vector>
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 | hypergeometric_distribution (size_t n1, size_t n2, size_t t) |
Select a random sample from a hypergeometric distribution. More... | |
std::vector< size_t > | multinomial_distribution (std::vector< double > const &p, size_t n) |
Select a random sample following a multinomial distribution. More... | |
std::vector< size_t > | multinomial_distribution (std::vector< size_t > const &p, size_t n) |
Select a random sample following a multinomial distribution. More... | |
std::vector< size_t > | multivariate_hypergeometric_distribution (std::vector< size_t > const &p, size_t n) |
Select a random sample following a multivariate hypergeometric distribution. More... | |