Resets the seed to skip ahead in the base linear congruential
generator.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void Skip(
int n
)
Public Overridable Sub Skip (
n As Integer
)
public:
virtual void Skip(
int n
)
abstract Skip :
n : int -> unit
override Skip :
n : int -> unit
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