observe_exponential

function observe_exponential(x:Real, λ:Real) -> Real

Observe an exponential variate.

  • x: The variate.
  • λ: Rate.

Returns: the log probability density.