Xoroshiro128PlusPlus.Advance Method

Advances the generator state by the specified number of steps.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public void Advance(
	ulong delta
)

Parameters

delta  UInt64
The number of steps to advance.

Implements

IAdvanceable.Advance(UInt64)

Remarks

This method advances the generator state by delta steps, equivalent to calling NextUInt64() that many times.

  Caution

Execution time is linear in delta. For large advances, suitable for block splitting or partitioning into independent streams, consider using Jumped(UInt64) or LongJumped(UInt64) instead.

See Also