Fast uniform [0, 2^32) pseudo-random generator with period 2^32, random bits: 32.
- Warning
- Uses a global state and is not reentrant or thread-safe!
- Examples:
- examples/containers/deque2.cpp, examples/containers/queue2.cpp, and examples/containers/sorter2.cpp.
Definition at line 46 of file rand.h.
value_type stxxl::random_number32::operator() |
( |
| ) |
const |
|
inline |
Returns a random number from [0, N)
Definition at line 57 of file rand.h.
The documentation for this struct was generated from the following file:
- include/stxxl/bits/common/rand.h