|
Random\Engine\Xoshiro256StarStar::jumpLongEfficiently move the engine ahead by 2^192 steps Description
public void Random\Engine\Xoshiro256StarStar::jumpLong()
Moves the algorithm’s state ahead by 2192 steps, as if Random\Engine\Xoshiro256StarStar::generate was called 2192 times. The purpose of a long jump is to facilitate the creation of a new Random\Engine\Xoshiro256StarStar engine from an existing seeded Random\Engine\Xoshiro256StarStar engine. The seeded engine acts as a blueprint, which can be cloned and repeatedly jumped to create 264 non-overlapping sequences with 2192 values each. Long jumping may be combined with Random\Engine\Xoshiro256StarStar::jumping to further split each of the 264 sequences generated by long jumping, into 264 sequences of 2128 values each. ParametersThis function has no parameters. Return ValuesNo value is returned. ExamplesExample #1 Random\Engine\Xoshiro256StarStar::jumpLong example
The above example will output: Child 1A: b4f275cb365fec99 Child 1B: 2cd646c8ed156237 Child 2A: eb3729a722a504e7 Child 2B: d4208dc85bdd6dc3 See Also
|