Pcg32.Skip Method

Skips ahead by the specified number of steps.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public void Skip(
	long steps
)

Parameters

steps  Int64
The number of steps to skip ahead.

Remarks

This method advances the state of the random number generator by the specified number of steps. Each step corresponds to one 32 bit random value. Negative values are allowed.

Note that one step doesn't necessarily correspond to one random value produced by the generator. For example, to ensure an unbiased result, the Next(Int32) method may generate more than one random value internally.

See Also