Documentation ¶
Overview ¶
Package entropy has a few helper functions to calculate the bit entropy of strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Shannon ¶
Shannon measures the Shannon entropy of a string. See http://bearcave.com/misl/misl_tech/wavelets/compression/shannon.html for the algorithmic explanation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.