RandomJumpSize Enumeration

Specifies the canonical jump distance supported by a jumpable random number generator.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public enum RandomJumpSize

Remarks

This enumeration describes the fixed, algorithm-defined jump stride for RNGs implementing IJumpable. Jump distances are typically powers of two in the generator's output sequence, chosen to provide good separation between parallel streams.

The actual number of outputs jumped is algorithm-specific and documented per RNG. This enum serves as metadata for discoverability, testing, and documentation.

Members

Unknown0 Jump size is unknown or not well-defined.
PowerOfTwo321 Jump distance is 2^32 outputs.
PowerOfTwo642 Jump distance is 2^64 outputs.
PowerOfTwo963 Jump distance is 2^96 outputs.
PowerOfTwo1284 Jump distance is 2^128 outputs.
PowerOfTwo1925 Jump distance is 2^192 outputs.
NumpyPcg646 Jump distance is (φ-1)·2^128, matching NumPy's PCG64/PCG64DXSM jumped() stride.

See Also