ParallelRandom.Create Method

Creates a thread-safe random number generator from an existing random number generator.

Definition

Namespace: Extreme.Mathematics.Random
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static ParallelRandom Create(
	Random random
)

Parameters

random  Random
A random number generator of a type that inherits from ExtendedRandom.

Return Value

ParallelRandom
A ParallelRandom instance.

Exceptions

ArgumentNullException

random is null.

See Also