Parallel Random.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#
A ParallelRandom instance.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static ParallelRandom Create(
Random random
)
Parameters
- random Random
- A random number generator of a type that inherits from ExtendedRandom.
Return Value
ParallelRandomA ParallelRandom instance.
Exceptions
ArgumentNullException | random is null. |