Definition at line 828 of file tr1_impl/random.
typedef _RealType std::subtract_with_carry_01< _RealType, __w, __s, __r >::result_type |
The type of the generated random value.
Definition at line 832 of file tr1_impl/random.
std::subtract_with_carry_01< _RealType, __w, __s, __r >::subtract_with_carry_01 | ( | ) | [inline] |
Constructs a default-initialized % subtract_with_carry_01 random number generator.
Definition at line 843 of file tr1_impl/random.
References std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed().
std::subtract_with_carry_01< _RealType, __w, __s, __r >::subtract_with_carry_01 | ( | unsigned long | __value | ) | [inline, explicit] |
Constructs an explicitly seeded % subtract_with_carry_01 random number generator.
Definition at line 854 of file tr1_impl/random.
References std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed().
std::subtract_with_carry_01< _RealType, __w, __s, __r >::subtract_with_carry_01 | ( | _Gen & | __g | ) | [inline] |
Constructs a % subtract_with_carry_01 random number generator engine seeded from the generator function __g
.
__g | The seed generator function. |
Definition at line 867 of file tr1_impl/random.
References std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed().
result_type std::subtract_with_carry_01< _RealType, __w, __s, __r >::max | ( | ) | const [inline] |
Gets the maximum value of the range of random floats returned by this generator.
Definition at line 901 of file tr1_impl/random.
result_type std::subtract_with_carry_01< _RealType, __w, __s, __r >::min | ( | ) | const [inline] |
Gets the minimum value of the range of random floats returned by this generator.
Definition at line 893 of file tr1_impl/random.
subtract_with_carry_01< _RealType, __w, __s, __r >::result_type std::subtract_with_carry_01< _RealType, __w, __s, __r >::operator() | ( | ) |
Gets the next random number in the sequence.
Definition at line 495 of file random.tcc.
References std::subtract_with_carry_01< _RealType, __w, __s, __r >::short_lag.
void std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed | ( | _Gen & | __g | ) | [inline] |
Seeds the initial state of the % subtract_with_carry_01 random number generator.
Definition at line 885 of file tr1_impl/random.
References std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed().
void std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed | ( | unsigned long | __value = 19780503 |
) |
Seeds the initial state of the random number generator.
Definition at line 454 of file random.tcc.
References _GLIBCXX_TR1.
Referenced by std::subtract_with_carry_01< _RealType, __w, __s, __r >::seed(), and std::subtract_with_carry_01< _RealType, __w, __s, __r >::subtract_with_carry_01().
bool operator!= | ( | const subtract_with_carry_01< _RealType, __w, __s, __r > & | __lhs, | |
const subtract_with_carry_01< _RealType, __w, __s, __r > & | __rhs | |||
) | [friend] |
Compares two % subtract_with_carry_01 random number generator objects of the same type for inequality.
__lhs | A % subtract_with_carry_01 random number generator object. | |
__rhs | Another % subtract_with_carry_01 random number generator object. |
Definition at line 945 of file tr1_impl/random.
std::basic_ostream<_CharT, _Traits>& operator<< | ( | std::basic_ostream< _CharT, _Traits > & | __os, | |
const subtract_with_carry_01< _RealType1, __w1, __s1, __r1 > & | __x | |||
) | [friend] |
Inserts the current state of a % subtract_with_carry_01 random number generator engine __x
into the output stream __os
.
__os | An output stream. | |
__x | A % subtract_with_carry_01 random number generator engine. |
__x
inserted or in an error state. bool operator== | ( | const subtract_with_carry_01< _RealType, __w, __s, __r > & | __lhs, | |
const subtract_with_carry_01< _RealType, __w, __s, __r > & | __rhs | |||
) | [friend] |
Compares two % subtract_with_carry_01 random number generator objects of the same type for equality.
__lhs | A % subtract_with_carry_01 random number generator object. | |
__rhs | Another % subtract_with_carry_01 random number generator object. |
Definition at line 922 of file tr1_impl/random.
std::basic_istream<_CharT, _Traits>& operator>> | ( | std::basic_istream< _CharT, _Traits > & | __is, | |
subtract_with_carry_01< _RealType1, __w1, __s1, __r1 > & | __x | |||
) | [friend] |
Extracts the current state of a % subtract_with_carry_01 random number generator engine __x
from the input stream __is
.
__is | An input stream. | |
__x | A % subtract_with_carry_01 random number generator engine. |
__x
extracted or in an error state.