observe_uniform

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

Observe a uniform variate.

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

Returns: the log probability density.