GfsrGenerator.Restart Method

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Restart() Restarts the random number generator using the original seed.
Restart(Int32) Restarts the random number generator using the specified seed.
Restart(Int32[]) Restarts the random number generator using the specified seed array.

Restart

Restarts the random number generator using the original seed.
C#
public override void Restart()

Restart(Int32)

Restarts the random number generator using the specified seed.
C#
public override void Restart(
	int seed
)

Parameters

seed  Int32
The new seed.

Restart(Int32[])

Restarts the random number generator using the specified seed array.
C#
public void Restart(
	int[] seedArray
)

Parameters

seedArray  Int32[]
An integer array containing the new seed values.

Exceptions

ArgumentNullException

seedArray is null.

See Also