rDUniform

open fun rDUniform(minimum: Int, maximum: Int): Int

Generates a discrete uniform over the range

Return

the random value

Parameters

minimum

the minimum of the range

maximum

the maximum of the range


open fun rDUniform(range: IntRange): Int

Generates a discrete uniform over the range

Return

the random value

Parameters

range

the range of the random variate