Documentation

CslibFrontier.Probability.PMF.Coin.Complement

Complementing a Bernoulli coin #

Negating the sampled Boolean complements its success parameter, using the existing central symmetry of the unit interval. This includes parameters zero and one.

Negation sends a coin with parameter p to a coin with parameter 1 - p.