Delta-rational chord: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 54: Line 54:
== Measuring the error of an approximate fully DR chord ==
== Measuring the error of an approximate fully DR chord ==
=== Least-squares error measures ===
=== Least-squares error measures ===
==== Naive least-squares error ====
Say we want the error of a chord 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> (in increasing order), with ''n'' > 1, in the linear domain as an approximation to a fully delta-rational chord with signature +δ<sub>1</sub> +δ<sub>2</sub> ... +δ<sub>''n''</sub>, i.e. a chord
Say we want the error of a chord 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> (in increasing order), with ''n'' > 1, in the linear domain as an approximation to a fully delta-rational chord with signature +δ<sub>1</sub> +δ<sub>2</sub> ... +δ<sub>''n''</sub>, i.e. a chord


Line 61: Line 60:
where we vary x and ask, "By at least how much do the deltas have to be off for any x?"
where we vary x and ask, "By at least how much do the deltas have to be off for any x?"


==== Naive least-squares error ====
Rewriting a bit, if 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> has delta signature +ε<sub>1</sub> +ε<sub>2</sub> ... +ε<sub>''n''</sub> (where the chord is 1:1+ε<sub>1</sub>:...), let <math>D_i = \sum_{k=1}^i \delta_i</math> and <math>E_i = \sum_{k=1}^i \epsilon_i.</math> Then the resulting linear least-squares optimization problem is
Rewriting a bit, if 1:''r''<sub>1</sub>:''r''<sub>2</sub>:...:''r''<sub>''n''</sub> has delta signature +ε<sub>1</sub> +ε<sub>2</sub> ... +ε<sub>''n''</sub> (where the chord is 1:1+ε<sub>1</sub>:...), let <math>D_i = \sum_{k=1}^i \delta_i</math> and <math>E_i = \sum_{k=1}^i \epsilon_i.</math> Then the resulting linear least-squares optimization problem is