Random Stream Partition<TRandom> Constructor
Initializes a new instance of the RandomStreamPartition<TRandom> class.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public RandomStreamPartition(
in RandomOptions baseOptions,
JumpStride stride
)Parameters
- baseOptions RandomOptions
- The base initialization options. These options are used to create the initial anchor RNG for the partition.
- stride JumpStride
- The jump stride to use for spacing between streams at this level.
Remarks
The partition starts at the position defined by baseOptions. The first call to NextStream() returns an RNG at this position, then advances by the specified stride.