PCL
|
Implementation of the XorShift1024* pseudo-random number generator. More...
#include <Random.h>
Public Member Functions | |
XorShift1024 (uint64 seed=0) noexcept(false) | |
void | Initialize (uint64 x) |
double | operator() () noexcept |
uint32 | UI32 () noexcept |
uint32 | UI32N (uint32 n) noexcept |
uint64 | UI64 () noexcept |
uint64 | UI64N (uint64 n) noexcept |
uint32 | UIN (uint32 n) noexcept |
Generation of pseudo-random uniform deviates using the xorshift1024* generator developed in 2014 by Sebastiano Vigna. This is a fast, top-quality generator with a period of 2^1024-1, passing strong statistical test suites.
Examples of use:
References
Sebastiano Vigna (2014), An experimental exploration of Marsaglia's xorshift generators, scrambled, arXiv:1402.6246
Sebastiano Vigna (2014), Further scramblings of Marsaglia's xorshift generators, arXiv:1404.0390
See also: http://xorshift.di.unimi.it/
|
inlinenoexcept |
|
inline |
Reinitializes this generator with a new seed.
If the specified seed is zero, a unique, high-quality random seed will be generated automatically by calling RandomSeed64().
Definition at line 374 of file Random.h.
References pcl::RandomSeed64().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |