Stxxl
1.4.0
|
Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31. More...
#include <rand.h>
Public Types | |
typedef double | value_type |
Public Member Functions | |
random_uniform_slow (unsigned seed=0) | |
value_type | operator() () const |
Returns a random number from [0.0, 1.0) | |
Public Attributes | |
unsigned short | state48 [3] |
Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31.
random_uniform_fast
typedef double stxxl::random_uniform_slow::value_type |
stxxl::random_uniform_slow::random_uniform_slow | ( | unsigned | seed = 0 | ) | [inline] |
Definition at line 121 of file rand.h.
References stxxl::get_next_seed().
value_type stxxl::random_uniform_slow::operator() | ( | ) | const [inline] |
unsigned short stxxl::random_uniform_slow::state48[3] [mutable] |