PcgOneseq128XslRr64
final class PcgOneseq128XslRr64 implements Engine (View source)
Methods
__construct(string|int|null $seed = null)
Constructs a new PCG Oneseq 128 XSL RR 64 engine
string
generate()
Generates randomness
void
jump(int $advance)
Efficiently move the engine ahead multiple steps
array
__serialize()
No description
void
__unserialize(array $data)
No description
array
__debugInfo()
No description
Details
__construct(string|int|null $seed = null)
Constructs a new PCG Oneseq 128 XSL RR 64 engine
string
generate()
Generates randomness
Returns randomness and advances the algorithm’s state by one step.
void
jump(int $advance)
Efficiently move the engine ahead multiple steps
Moves the algorithm’s state ahead by the number of steps given by advance, as if Random\Engine\PcgOneseq128XslRr64::generate was called that many times.
array
__serialize()
No description
void
__unserialize(array $data)
No description
array
__debugInfo()
No description