Click or drag to resize
RandomMultiplier Property
The multiplier for a linear congruential random number generator.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public long Multiplier { get; set; }

Property Value

Type: Int64
A long which represents the random number generator multiplier.
Remarks

If not set, the multiplier has the value zero. If a multiplier is set then the linear congruential generator, defined in the base class System.Random, is replaced by the generator

seed = (multiplier*seed) mod (2^{31}-1)

See Donald Knuth, The Art of Computer Programming, Volume 2, for guidelines in choosing a multiplier. Some possible values are 16807, 397204094, 950706376.

See Also