GNU g++  v5.2.1
GNU Standard C++
Random Number Generators
Collaboration diagram for Random Number Generators:

Modules

 Discrete Distributions
 
 Random Number Distributions
 

Detailed Description

Produces random numbers on a given distribution function using a non-uniform random number generation engine.

Todo:
the engine_value_type needs to be studied more carefully.

Constructs a variate generator with the uniform random number generator __eng for the random distribution __dist.

Exceptions
Anyexceptions which may thrown by the copy constructors of the _Engine or _Dist objects.

Gets the next generated value on the distribution.

WTF?

Gets a reference to the underlying uniform random number generator object.

Gets a const reference to the underlying uniform random number generator object.

Gets a reference to the underlying random distribution.

Gets a const reference to the underlying random distribution.

Gets the closed lower bound of the distribution interval.

Gets the closed upper bound of the distribution interval.

These classes define objects which provide random or pseudorandom numbers, either from a discrete or a continuous interval. The random number generator supplied as a part of this library are all uniform random number generators which provide a sequence of random number uniformly distributed over their range.

A number generator is a function object with an operator() that takes zero arguments and returns a number.

A compliant random number generator must satisfy the following requirements.

Random Number Generator Requirements
To be documented.