![]() |
Om
1.0.0
A universal framework for multimedia simulation
|
An implementation of the Xoroshiro128+ pseudorandom number generator. More...
#include <omRandom.h>
Public Types | |
| typedef UInt64 | SeedType |
| The seed type for this generator. More... | |
| typedef RNGOutput< numBytes >::Type | OutputType |
| The output type for this generator. More... | |
Static Public Member Functions | |
| static OutputType | next (SeedType *state) |
| Advance the specified random generator state and return the next output value. More... | |
Static Public Attributes | |
| static const Size | SEED_SIZE = 2 |
| The number of seed values that are used as the state for this generator. More... | |
An implementation of the Xoroshiro128+ pseudorandom number generator.
Original version by David Blackman and Sebastiano Vigna. A comparison of the performance versus other PRNGs can be found at the author's website: http://xoroshiro.di.unimi.it
| typedef UInt64 om::math::Xoroshiro128< numBytes >::SeedType |
The seed type for this generator.
| typedef RNGOutput<numBytes>::Type om::math::Xoroshiro128< numBytes >::OutputType |
The output type for this generator.
|
inlinestatic |
Advance the specified random generator state and return the next output value.
|
static |
The number of seed values that are used as the state for this generator.
1.8.11