Module:Interval/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Interval
This module provides several functions to work with interval-related math. Currently, it only exists to calculate the harmonic entropy.
Namely, the functions in this module can be called from other modules by using require('Module:Interval')
and calling the _
-prefixed functions.
Functions
harmonic_entropy(c, ratios, deviation, norm)
computes harmonic Shannon entropy of an interval ofc
cents acrossratios
with a Gaussian with standarddeviation
(also in cents) and anorm
associated with theratios
.