Compute PDF, CDF, quantiles, moments, and visualize the distribution. The fundamental "rectangular" distribution for equal probability over an interval.
* PDF is constant on [a,b]; CDF increases linearly.
The continuous uniform distribution (also called rectangular distribution) assigns equal probability density to every point in the interval [a, b]. It is the maximum entropy distribution for a given interval and serves as the fundamental model for complete ignorance.
Connection to other distributions:
Verified against theoretical properties of U(0,1).
All calculations use direct formulas; no approximation error.