Pcg 32.Long Jumped Method
Returns a new instance of the random number generator that is advanced
by a specified number of long jumps in the sequence.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
A new instance of the generator advanced by the specified number of long jumps.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public Pcg32 LongJumped(
ulong count = 1
)Parameters
- count UInt64 (Optional)
- The number of jumps to advance the generator. Each jump moves the generator forward by a large, fixed number of steps. The default is 1.
Return Value
Pcg32A new instance of the generator advanced by the specified number of long jumps.
Remarks
Jumping the generator allows for the creation of independent random number streams. This is useful in parallel computations where separate streams are required to avoid correlation.