observe_uniform_int

function observe_uniform_int(x:Integer, l:Integer, u:Integer) -> Real

Observe an integer uniform variate.

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

Returns: the log probability mass.