Skip to content

uniformDistribution

uniformDistribution(lower?, upper?): Distribution

Defined in: uniform-distribution.ts:15

The continuous uniform distribution over [lower, upper].

number = 0

Lower bound of the support.

number = 1

Upper bound of the support; must exceed lower.

Distribution

The distribution.

When the bounds do not enclose a positive width.