Triangular
Represents the Triangular distribution with parameters - minimum value, maximum value and most likely value
Parameters
The minimum value of the distribution
The mode of the distribution
The maximum value of the distribution
an optional label/name
Constructors
Functions
Computes the natural log of the pdf function evaluated at x. Implementations may want to specify computationally efficient formulas for this function.
Gets the parameters for the distribution params0 min The minimum value of the distribution params1 mode The mode of the distribution params2 max The maximum value of the distribution
Sets the parameters for the distribution params0 min The minimum value of the distribution params1 mode The mode of the distribution params2 max The maximum value of the distribution
Promises to return a random variable that uses the supplied stream number using the supplied stream provider
Sets the minimum, most likely and maximum value of the triangular distribution to the private data members myMin, myMode and myMax resp throws IllegalArgumentException when the min >mode, min >= max, mode > max