uniformDistribution
uniformDistribution(
lower?,upper?):Distribution
Defined in: uniform-distribution.ts:15
The continuous uniform distribution over [lower, upper].
Parameters
Section titled “Parameters”lower?
Section titled “lower?”number = 0
Lower bound of the support.
upper?
Section titled “upper?”number = 1
Upper bound of the support; must exceed lower.
Returns
Section titled “Returns”The distribution.
Throws
Section titled “Throws”When the bounds do not enclose a positive width.