RandomNext Method (Int32) |
Returns a nonnegative pseudorandom int.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public override int Next(
int maxValue
)
Public Overrides Function Next (
maxValue As Integer
) As Integer
public:
virtual int Next(
int maxValue
) override
abstract Next :
maxValue : int -> int
override Next :
maxValue : int -> int
Parameters
- maxValue
- Type: SystemInt32
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
Type:
Int32
An
int greater than or equal to zero and less than
maxValue.
See Also