partition_bernoulli

function partition_bernoulli(ρ:Real) -> Real

Partition function of a Bernoulli variate.

  • ρ: Probability of a true result.

Return: the normalization constant.