ParallelRandom.Create Method

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

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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