Uniform

The density function of the uniform distribution is

\[  f(x) = \left\{  \begin{array}{ll} \frac{1}{b - a} &  a \le x \le b \\ 0 &  \mbox{otherwise} \\ \end{array} \right.  \]

where $a$ and $b$ are real numbers with $a < b$.

Parameters:

$a$

is the minimum.

$b$

is the maximum.