Click or drag to resize
RandomSkip Method
Resets the seed to skip ahead in the base linear congruential generator.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual void Skip(
	int n
)

Parameters

n
Type: SystemInt32
An int which specifies the number of random deviates to skip.
Remarks
This method can be used only if a linear congruential multiplier is explicitly defined by a call to Multiplier.

The method skips ahead in the deviates returned by the protected method Random.Next. The public methods use Next(int) as their source of uniform random deviates. Some methods call it more than once. For instance, each call to NextDouble calls it twice.

See Also