Triangular

constructor(parameters: DoubleArray)

Constructs a Triangular distribution with min = parameters0, mode = parameters1, max = parameters2

Parameters

parameters

The array of parameters


constructor(theMin: Double = 0.0, theMode: Double = 0.0, theMax: Double = 1.0, name: String? = null)

Parameters

theMin

The minimum value of the distribution

theMode

The mode of the distribution

theMax

The maximum value of the distribution

name

an optional label/name