Generates the next pseudorandom number.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public override double NextDouble()
Visual Basic (Declaration)
Public Overrides Function NextDouble As Double
Visual C++
public:
virtual double NextDouble() override

Return Value

A double which specifies the next pseudorandom value from this random number generator's sequence.

Remarks

If the multiplier is set then the multiplicative congruential method is used. Otherwise, super.Next(bits) is used. Where bits is the number of random bits required.

See Also