| LeapfrogRandomStreams(Int32, RandomNumberStreamBasicRandGenType, Int32, Int32) Constructor |
Creates a LeapfrogRandomStreams object from the given parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public LeapfrogRandomStreams(
int seed,
RandomNumberStreamBasicRandGenType randGenType,
int numStreams,
int streamLen
)
Public Sub New (
seed As Integer,
randGenType As RandomNumberStreamBasicRandGenType,
numStreams As Integer,
streamLen As Integer
)
public:
LeapfrogRandomStreams(
int seed,
RandomNumberStreamBasicRandGenType randGenType,
int numStreams,
int streamLen
)
new :
seed : int *
randGenType : RandomNumberStreamBasicRandGenType *
numStreams : int *
streamLen : int -> LeapfrogRandomStreams
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 See Also