IRandom Source Factory<TRandom>.Copy Method
Returns a deep copy of this RNG.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
A deep copy with the same runtime type and state.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
TRandom Copy()Return Value
TRandomA deep copy with the same runtime type and state.
Remarks
The returned instance must have the same runtime type as the original. The copy must be independent: advancing one RNG does not affect the other.