20 std::uniform_real_distribution<double> udist(0.0, 1.0);
31 std::normal_distribution<double> ndist(m, s);
43 std::uniform_int_distribution<int> udist(min, max);
std::default_random_engine randengine
Contains methods and classes for generating random numbers with various (simple) distributions.
static double uniform()
Generates a random number in the range 0 to 1.
static void seed(int seed)
Sets the seed of the random number generator.
An interface to the operating system, including Port based communication.