PCL
|
Implementation of the xoroshiro1024** pseudo-random number generator. More...
#include <Random.h>
Public Member Functions | |
XoRoShiRo1024ss (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 |
Public Member Functions inherited from pcl::XoShiRoBase | |
XoShiRoBase ()=default | |
Generation of pseudo-random uniform deviates using the xoroshiro1024** generator developed in 2019 by David Blackman and Sebastiano Vigna. This is a fast, top-quality generator with a period of 2^1024-1, passing strong statistical test suites—actually, it passes all tests we are aware of.
Examples of use:
References
David Blackman and Sebastiano Vigna (2019), Scrambled linear pseudorandom number generators (preprint).
See also: http://prng.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 679 of file Random.h.
References pcl::RandomSeed64().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns a 64-bit unsigned integer uniform random deviate.
Definition at line 628 of file Random.h.
References pcl::RotL().