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

    func Shannon(value string) (bits int)

      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.

      Source Files