DUniformRV

constructor(min: Int, max: Int, streamNum: Int)

Discrete uniform(min, max) random variable

Parameters

min

the lower limit of the range, must be strictly less than max

max

the upper limit of the range, must be strictly greater than min

streamNum

the stream number for the associated random number stream


constructor(range: IntRange, streamNum: Int)

Discrete uniform(min, max) random variable

Parameters

range

the range of integers

streamNum

the stream number for the associated random number stream


constructor(range: IntRange, stream: RNStreamIfc = KSLRandom.nextRNStream())

Discrete uniform(min, max) random variable

Parameters

range

the range of integers

stream

the random number stream


constructor(min: Int, max: Int, stream: RNStreamIfc = KSLRandom.nextRNStream(), name: String? = null)

Parameters

min

the lower limit of the range, must be strictly less than max

max

the upper limit of the range, must be strictly greater than min

stream

the random number stream