partition_binomial

function partition_binomial(n:Integer, ρ:Real) -> Real

Partition function of a Binomial variate.

  • n: Number of trials.
  • ρ: Probability of a true result.

Return: the normalization constant.