Pcg32.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

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

Remarks

The ExtendedRandom class does not support restarting.

Exceptions

NotSupportedException

Always thrown.

Restart(Int32)

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

Parameters

seed  Int32
The new seed.

Remarks

The ExtendedRandom class does not support reseeding.

Exceptions

NotSupportedException

Always thrown.

See Also