User:Sintel/CTE tuning: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<math> | <math> | ||
\begin{align} | \begin{align} | ||
& \text{minimize} && \left\| g\mathrm{V} - | & \underset{g}{\text{minimize}} && \left\| g\mathrm{V} - j \right\|^2 \\ | ||
& \text{subject to} && (g\mathrm{A} - | & \text{subject to} && (g\mathrm{A} - j_0)b_i = j_0, \quad i = 1, \dots, m \\ | ||
\end{align} | \end{align} | ||
</math> | </math> | ||
where | where ''g'' is the generator list, V = AW the Tenney-weighted temperament mapping, ''j'' = ''j''<sub>0</sub>W the Tenney-weighted [[JIP]], and <math>b_i</math> is the ''i''-th monzo. If we stack all the ''b''s into a matrix B, then the problem can be solved using he method of lagrange multipliers. | ||
The problem is feasible if | The problem is feasible if | ||
# rank (B) ≤ rank (A), and | # rank (B) ≤ rank (A), and | ||
# | # A has full rank. | ||
== Computation == | == Computation == |