Documentation

CslibFrontier.Probability.BitString.FixedWeight

Uniform fixed-weight bit strings #

Mapping a uniform fixed-cardinality subset of range n to its Boolean indicator gives the uniform law on bit strings of the same fixed weight.

Main results #

A uniform w-element subset of range n, represented by its indicator, is a uniform n-bit string of weight w.