RandomStreamSource<TRandom>.Advance Method

Advances the next index by the specified count without generating streams.

Definition

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

Parameters

count  UInt64
The number of indices to skip.

Implements

IRandomStreamSource<TRandom>.Advance(UInt64)

Remarks

This method increments NextIndex by count without creating RNG instances. It is useful for skipping ahead in the stream sequence.

The cost of this operation depends on the implementation:

See Also