MersenneTwister.Restart Method

Definition

Namespace: Extreme.Mathematics.Random
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

ArgumentNullExceptionseedArray is null.

See Also