Parallel Random.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#
A ParallelRandom instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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
Argument | random is null. |