Mrg32k3a.CreateStreamPartition Method

Creates a jump-based stream partition for generating spaced MRG32k3a streams.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
C#
public static RandomStreamPartition<Mrg32k3a> CreateStreamPartition(
	 in RandomOptions options,
	JumpStride stride,
	ulong startIndex = 0
)

Parameters

options  RandomOptions
The base initialization options for the stream partition.
stride  JumpStride
The jump stride to use for spacing between streams.
startIndex  UInt64  (Optional)
The starting index for stream enumeration.

Return Value

RandomStreamPartition<Mrg32k3a>
A stream partition that creates Mrg32k3a instances.

Remarks

For Mrg32k3a, Jump uses the classic RngStreams substream spacing of 276 outputs and LongJump uses the classic stream spacing of 2127 outputs.

See Also