「モジュール:Harmonic entropy」の変更履歴

ナビゲーションに移動 検索に移動

差分の選択: 比較したい版のラジオボタンを選択し、Enterキーを押すか、下部のボタンを押します。
凡例: (最新)=最新版との比較、(前)=直前の版との比較、=細部の編集

2025年11月16日 (日)

  • 最新 03:552025年11月16日 (日) 03:55 Dummy index トーク 投稿記録 1,252バイト +1,252 ページの作成:「local limits = require("Module:Limits") local rat = require("Module:Rational") local p = {} -- Compute Harmonic Shannon entropy for an interval of `c` cents -- `c`, `deviation`: in cents -- `ratios`: an array of rational numbers -- `norm`: a function of rational numbers function p.harmonic_entropy(c, ratios, deviation, norm) norm = norm or function(ratio) return math.sqrt(rat.benedetti_height(ratio)) end deviation = deviation or 1200 * math.log(1.01, 2) ratio…」