logpdf_lazy_bernoulli


function logpdf_lazy_bernoulli(x:Expression<Boolean>, ρ:Expression<Real>) -> Expression<Real>

Observe a Bernoulli variate.

  • x: The variate.
  • ρ: Probability of a true result.

Returns: the log probability mass.