RandomMultiplier Property |
The multiplier for a linear congruential random number generator.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public long Multiplier { get; set; }
Public Property Multiplier As Long
Get
Set
public:
property long long Multiplier {
long long get ();
void set (long long value);
}
member Multiplier : int64 with 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
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