Returns a nonnegative pseudorandom int.

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

Syntax

C#
public override int Next(
	int maxValue
)
Visual Basic (Declaration)
Public Overrides Function Next ( _
	maxValue As Integer _
) As Integer
Visual C++
public:
virtual int Next(
	int maxValue
) override

Parameters

maxValue
Type: System..::.Int32
An int which specifies the upper bound of the random number to be generated. maxValue must be greater than or equal to zero.

Return Value

An int greater than or equal to zero and less than maxValue.

See Also