Click or drag to resize

LeapfrogRandomStreams(RandomNumberStreamBasicRandGenType, Int32, Int32) Constructor

Creates a LeapfrogRandomStreams object from the given parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public LeapfrogRandomStreams(
	RandomNumberStreamBasicRandGenType randGenType,
	int numStreams,
	int streamLen
)

Parameters

randGenType  RandomNumberStreamBasicRandGenType
Basic random number generator type. Must be one of RandomNumberStream.BasicRandGenType.MultiplicativeCongruent31, RandomNumberStream.BasicRandGenType.MultipleRecursive2x3, RandomNumberStream.BasicRandGenType.MultipleCongruential59, RandomNumberStream.BasicRandGenType.WinchannHillCombined.
numStreams  Int32
Number of independent streams.
streamLen  Int32
Length of each independent stream.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if randGenType is not one of the supported types.
See Also