aarand
Aaron's random distribution functions
|
Aaron's random distribution functions. More...
Go to the source code of this file.
Namespaces | |
namespace | aarand |
Aaron's random distribution functions. | |
Functions | |
template<typename Output_ = double, class Engine_ > | |
Output_ | aarand::standard_uniform (Engine_ &eng) |
template<typename Output_ = double, class Engine_ > | |
std::pair< Output_, Output_ > | aarand::standard_normal (Engine_ &eng) |
template<typename Output_ = double, class Engine_ > | |
Output_ | aarand::standard_exponential (Engine_ &eng) |
template<typename Output_ = int, class Engine_ > | |
Output_ | aarand::discrete_uniform (Engine_ &eng, const Output_ bound) |
template<class InputIterator_ , typename Length_ , class Engine_ > | |
void | aarand::shuffle (const InputIterator_ values, const Length_ n, Engine_ &eng) |
template<class InputIterator_ , typename Length_ , class OutputIterator_ , class Engine_ > | |
void | aarand::sample (InputIterator_ values, const Length_ n, const Length_ s, OutputIterator_ output, Engine_ &eng) |
template<typename Length_ , class OutputIterator_ , class Engine_ > | |
void | aarand::sample (const Length_ bound, const Length_ s, OutputIterator_ output, Engine_ &eng) |
Aaron's random distribution functions.