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

Modules

 Continuous Distributions
 
 Discrete Distributions
 

Detailed Description

The type of the generated random value.

Constructs a default-initialized % subtract_with_carry_01 random number generator.

Constructs an explicitly seeded % subtract_with_carry_01 random number generator.

Constructs a % subtract_with_carry_01 random number generator engine seeded from the generator function __g.

Parameters
__gThe seed generator function.

Seeds the initial state $ x_0 $ of the random number generator.

Seeds the initial state $ x_0 $ of the % subtract_with_carry_01 random number generator.

Gets the minimum value of the range of random floats returned by this generator.

Gets the maximum value of the range of random floats returned by this generator.

Gets the next random number in the sequence.

Compares two % subtract_with_carry_01 random number generator objects of the same type for equality.

Parameters
__lhsA % subtract_with_carry_01 random number generator object.
__rhsAnother % subtract_with_carry_01 random number generator object.
Returns
true if the two objects are equal, false otherwise.

Compares two % subtract_with_carry_01 random number generator objects of the same type for inequality.

Parameters
__lhsA % subtract_with_carry_01 random number generator object.
__rhsAnother % subtract_with_carry_01 random number generator object.
Returns
true if the two objects are not equal, false otherwise.

Inserts the current state of a % subtract_with_carry_01 random number generator engine __x into the output stream __os.

Parameters
__osAn output stream.
__xA % subtract_with_carry_01 random number generator engine.
Returns
The output stream with the state of __x inserted or in an error state.

Extracts the current state of a % subtract_with_carry_01 random number generator engine __x from the input stream __is.

Parameters
__isAn input stream.
__xA % subtract_with_carry_01 random number generator engine.
Returns
The input stream with the state of __x extracted or in an error state.

Produces random numbers from some base engine by discarding blocks of data.

0 <= __r <= __p

The type of the underlying generator engine.

The type of the generated random value.

Constructs a default discard_block engine.

The underlying engine is default constructed as well.

Copy constructs a discard_block engine.

Copies an existing base class random number generator.

Parameters
rngAn existing (base class) engine object.

Seed constructs a discard_block engine.

Constructs the underlying generator engine seeded with __s.

Parameters
__sA seed value for the base class engine.

Generator construct a discard_block engine.

Parameters
__gA seed generator function.

Reseeds the discard_block object with the default seed for the underlying base class generator engine.

Reseeds the discard_block object with the given seed generator function.

Parameters
__gA seed generator function.

Gets a const reference to the underlying generator engine object.

Gets the minimum value in the generated random number range.

Gets the maximum value in the generated random number range.

Gets the next value in the generated random number sequence.

Compares two discard_block random number generator objects of the same type for equality.

Parameters
__lhsA discard_block random number generator object.
__rhsAnother discard_block random number generator object.
Returns
true if the two objects are equal, false otherwise.

Compares two discard_block random number generator objects of the same type for inequality.

Parameters
__lhsA discard_block random number generator object.
__rhsAnother discard_block random number generator object.
Returns
true if the two objects are not equal, false otherwise.

Inserts the current state of a discard_block random number generator engine __x into the output stream __os.

Parameters
__osAn output stream.
__xA discard_block random number generator engine.
Returns
The output stream with the state of __x inserted or in an error state.

Extracts the current state of a % subtract_with_carry random number generator engine __x from the input stream __is.

Parameters
__isAn input stream.
__xA discard_block random number generator engine.
Returns
The input stream with the state of __x extracted or in an error state.

James's luxury-level-3 integer adaptation of Luescher's generator.

James's luxury-level-4 integer adaptation of Luescher's generator.

A random number generator adaptor class that combines two random number generator engines into a single output sequence.

The type of the first underlying generator engine.

The type of the second underlying generator engine.

The type of the generated random value.

Gets the next random number in the sequence.

Compares two xor_combine random number generator objects of the same type for equality.

Parameters
__lhsA xor_combine random number generator object.
__rhsAnother xor_combine random number generator object.
Returns
true if the two objects are equal, false otherwise.

Compares two xor_combine random number generator objects of the same type for inequality.

Parameters
__lhsA xor_combine random number generator object.
__rhsAnother xor_combine random number generator object.
Returns
true if the two objects are not equal, false otherwise.

Inserts the current state of a xor_combine random number generator engine __x into the output stream __os.

Parameters
__osAn output stream.
__xA xor_combine random number generator engine.
Returns
The output stream with the state of __x inserted or in an error state.

Extracts the current state of a xor_combine random number generator engine __x from the input stream __is.

Parameters
__isAn input stream.
__xA xor_combine random number generator engine.
Returns
The input stream with the state of __x extracted or in an error state.

A standard interface to a platform-specific non-deterministic random number generator (if any are available).