aarand
Aaron's random distribution functions
|
Collection of random distribution functions. More...
Go to the source code of this file.
Namespaces | |
namespace | aarand |
Namespace containing Aaron's random distribution functions. | |
Functions | |
template<typename T = double, class Engine > | |
T | aarand::standard_uniform (Engine &eng) |
template<typename T = double, class Engine > | |
std::pair< T, T > | aarand::standard_normal (Engine &eng) |
template<typename T = double, class Engine > | |
T | aarand::standard_exponential (Engine &eng) |
template<typename T = int, class Engine > | |
T | aarand::discrete_uniform (Engine &eng, T bound) |
template<class In , class Engine > | |
void | aarand::shuffle (In values, size_t n, Engine &eng) |
template<class In , class Out , class Engine > | |
void | aarand::sample (In values, size_t n, size_t s, Out output, Engine &eng) |
template<class Out , class Engine > | |
void | aarand::sample (size_t bound, size_t s, Out output, Engine &eng) |
Collection of random distribution functions.