Module:Harmonic entropy: Difference between revisions
m harmonic_entropy() implemented |
mNo edit summary |
||
| Line 23: | Line 23: | ||
end | end | ||
-- compute Shannon | -- compute harmonic Shannon entropy for an interval of `c` cents | ||
-- `c`, `deviation`: in cents | -- `c`, `deviation`: in cents | ||
-- `ratios`: an array of rational numbers | -- `ratios`: an array of rational numbers | ||