static sdr.BinaryErasureChannel.capacities(p: ArrayLike) NDArray[float_]

Calculates the capacity of BEC channels.

Returns:

The capacity C of the channel in bits/channel use.