Given the number of equally-likely results per event, return the Shannon entropy of the event in bits.
the number of equally-likely results per event; e.g. for a coin, 2, for dice, the number of faces (for a standard die, 6)
2
6
Generated using TypeDoc
Given the number of equally-likely results per event, return the Shannon entropy of the event in bits.