#include <RNG.hpp>
A fast random number generating object that uses the Xoroshiro128+ algorithm.
Public Member Functions | |
| xoroshiro128 (const uint64_t seed_a, const uint64_t seed_b) | |
| uint64_t | next () |
| Gets the next random number. More... | |
| void | jump () |
|
inline |
|
inline |
The jump function for the generator. It is equivalent to 2^64 calls to next(); it can be used to generate 2^64 non-overlapping subsequences for parallel computations.
|
inline |
Gets the next random number.