DUniform

constructor(parameters: DoubleArray)

Constructs a discrete uniform where parameter0 is the lower limit and parameter1 is the upper limit of the range. the lower limit must be < upper limit

Parameters

parameters

An array containing the lower limit and upper limit


constructor(range: IntRange)

Parameters

range

an integer range


constructor(min: Int = 0, max: Int = 1, name: String? = null)

Parameters

min

The lower limit of the range

max

The upper limit of the range

name

an optional name/label