Generates the next pseudorandom number.

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

Syntax

C#
public float NextFloat()
Visual Basic (Declaration)
Public Function NextFloat As Single
Visual C++
public:
float NextFloat()

Return Value

A float 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