IMSL C# Numerical Library

Random.Skip Method 

Resets the seed to skip ahead in the base linear congruential generator.

public virtual void Skip(
   int n
);

Parameters

n
A 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

Random Class | Imsl.Stat Namespace