pdf_uniform

function pdf_uniform(x:Real, l:Real, u:Real) -> Real

PDF of a uniform variate.

  • x: The variate.
  • l: Lower bound of interval.
  • u: Upper bound of interval.

Return: the probability density.