libstdc++
|
Produces random numbers by combining random numbers from some base engine to produce random numbers with a specifies number of bits __w
.
typedef _UIntType std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::result_type |
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::independent_bits_engine | ( | ) | [inline] |
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::independent_bits_engine | ( | const _RandomNumberEngine & | __rng | ) | [inline, explicit] |
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::independent_bits_engine | ( | _RandomNumberEngine && | __rng | ) | [inline, explicit] |
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::independent_bits_engine | ( | result_type | __s | ) | [inline, explicit] |
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::independent_bits_engine | ( | _Sseq & | __q | ) | [inline, explicit] |
const _RandomNumberEngine& std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::base | ( | ) | const [inline] |
Gets a const reference to the underlying generator engine object.
Definition at line 1104 of file random.h.
Referenced by std::operator<<().
void std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::discard | ( | unsigned long long | __z | ) | [inline] |
static constexpr result_type std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::max | ( | ) | [inline, static] |
static constexpr result_type std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::min | ( | ) | [inline, static] |
independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::result_type std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::operator() | ( | ) |
Gets the next value in the generated random number sequence.
Definition at line 731 of file random.tcc.
References std::log().
void std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::seed | ( | ) | [inline] |
void std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::seed | ( | result_type | __s | ) | [inline] |
void std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >::seed | ( | _Sseq & | __q | ) | [inline] |
bool operator== | ( | const independent_bits_engine< _RandomNumberEngine, __w, _UIntType > & | __lhs, |
const independent_bits_engine< _RandomNumberEngine, __w, _UIntType > & | __rhs | ||
) | [friend] |
Compares two independent_bits_engine random number generator objects of the same type for equality.
__lhs | A independent_bits_engine random number generator object. |
__rhs | Another independent_bits_engine random number generator object. |
std::basic_istream<_CharT, _Traits>& operator>> | ( | std::basic_istream< _CharT, _Traits > & | __is, |
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType > & | __x | ||
) | [friend] |
Extracts the current state of a % subtract_with_carry_engine random number generator engine __x
from the input stream __is
.
__is | An input stream. |
__x | A independent_bits_engine random number generator engine. |
__x
extracted or in an error state.