Mrg32k3a.CreateStreamTree Method

Creates a hierarchical stream tree for generating derived MRG32k3a streams.

Definition

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

Parameters

options  RandomOptions
The base initialization options for the stream tree.
startIndex  UInt64  (Optional)
The starting index for stream enumeration.

Return Value

RandomStreamTree<Mrg32k3a>
A stream tree that creates Mrg32k3a instances.

Remarks

This method uses the general Numerics.NET mixing-based stream tree mechanism. To use the classic RngStreams stream/substream spacing, use CreateStreamPartition(RandomOptions, JumpStride, UInt64) or pass a two-segment StreamAddress with Standard.

See Also