A discrete random number generator that produces pseudorandom numbers using .
The size of the state is and the maximum period of the generator is
.
N1688[4.13] says "the template parameter _IntType shall denote an integral type large enough to store values up to m."
Definition at line 668 of file random.
|
The type of the generated random value. |
|
Constructs a default-initialized % subtract_with_carry random number generator. |
|
Constructs an explicitly seeded % subtract_with_carry random number generator. |
|
Constructs a subtract_with_carry random number generator engine seeded from the generator function
|
|
Gets the inclusive maximum value of the range of random integers returned by this generator. |
|
Gets the inclusive minimum value of the range of random integers returned by this generator. |
|
Gets the next random number in the sequence. Definition at line 362 of file random.tcc. References std::tr1::subtract_with_carry< _IntType, __m, __s, __r >::short_lag. |
|
Seeds the initial state |
|
Seeds the initial state
N1688[4.19] modifies this as follows. If Definition at line 320 of file random.tcc. References std::tr1::subtract_with_carry< _IntType, __m, __s, __r >::long_lag. |
|
Compares two % subtract_with_carry random number generator objects of the same type for inequality.
|
|
Inserts the current state of a % subtract_with_carry random number generator engine
|
|
Compares two % subtract_with_carry random number generator objects of the same type for equality.
|
|
Extracts the current state of a % subtract_with_carry random number generator engine
|