ShannonEntropy

Compute the Shannon entropy of a string.

Installation

If available in Hex, the package can be installed by adding shannonentropy to your list of dependencies in mix.exs:

def deps do
  [
    {:shannonentropy, "~> 0.1.0"}
  ]
end