A random number generator as proposed here https://prng.di.unimi.it/xoshiro256plusplus.c.
More...
#include <RandHelper.h>
|
static uint64_t | rotl64 (const uint64_t x, const int k) |
|
static uint64_t | splitmix64 (const uint64_t seed) |
|
A random number generator as proposed here https://prng.di.unimi.it/xoshiro256plusplus.c.
Definition at line 47 of file RandHelper.h.
◆ discard()
void XoShiRo256PlusPlus::discard |
( |
unsigned long long |
skip | ) |
|
|
inline |
◆ operator()()
uint64_t XoShiRo256PlusPlus::operator() |
( |
| ) |
|
|
inline |
◆ rotl64()
static uint64_t XoShiRo256PlusPlus::rotl64 |
( |
const uint64_t |
x, |
|
|
const int |
k |
|
) |
| |
|
inlinestaticprivate |
◆ seed()
void XoShiRo256PlusPlus::seed |
( |
const uint64_t |
seed | ) |
|
|
inline |
◆ splitmix64()
static uint64_t XoShiRo256PlusPlus::splitmix64 |
( |
const uint64_t |
seed | ) |
|
|
inlinestaticprivate |
◆ operator<<
◆ operator>>
◆ state
uint64_t XoShiRo256PlusPlus::state[4] |
|
private |
The documentation for this class was generated from the following file: