Click or drag to resize

LeapfrogRandomStreams(Int32, 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(
	int seed,
	RandomNumberStreamBasicRandGenType randGenType,
	int numStreams,
	int streamLen
)

Parameters

seed  Int32
Basic random number generator seed.
randGenType  RandomNumberStreamBasicRandGenType
Basic random number generator type. Must be one of RandomNumberStream.BasicRandGenType.MultiplicativeCongruent31, 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