User:Sintel/Generator optimization: Difference between revisions

Sintel (talk | contribs)
math formatting
Sintel bot (talk | contribs)
Fix <math> environments for MathJax v4 (align→aligned, etc.)
 
Line 73: Line 73:
We can write this as an ordinary least squares problem by setting:
We can write this as an ordinary least squares problem by setting:
:<math>
:<math>
\begin{gather}
\begin{gathered}
j' = jW \\
j' = jW \\
M' = MW
M' = MW
\end{gather}
\end{gathered}
</math>
</math>
Note that in Tenney-Euclidean tuning <math>
Note that in Tenney-Euclidean tuning <math>
Line 95: Line 95:
If we want some intervals to be exactly just, while optimizing all the others, we can introduce linear constraints. A good example is CTE tuning, where octaves are always just. This gives the following optimization problem:
If we want some intervals to be exactly just, while optimizing all the others, we can introduce linear constraints. A good example is CTE tuning, where octaves are always just. This gives the following optimization problem:
:<math>
:<math>
\begin{align}
\begin{aligned}
\underset{g}{\text{minimize}} & \ \left\| gMW - jW \right\|^2  \\
\underset{g}{\text{minimize}} & \ \left\| gMW - jW \right\|^2  \\
\text{subject to} & \quad gMV - jV = 0 \\
\text{subject to} & \quad gMV - jV = 0 \\
\end{align}
\end{aligned}
</math>
</math>


Line 106: Line 106:


:<math>
:<math>
\begin{align}
\begin{aligned}
A  &= (MW)^{\mathsf T}  
A  &= (MW)^{\mathsf T}  
&b &= (jW)^{\mathsf T} \\
&b &= (jW)^{\mathsf T} \\
C  &= (MV)^{\mathsf T}  
C  &= (MV)^{\mathsf T}  
&d &= (jV)^{\mathsf T} \\
&d &= (jV)^{\mathsf T} \\
\end{align}
\end{aligned}
</math>
</math>


Line 117: Line 117:


:<math>
:<math>
\begin{align}
\begin{aligned}
\underset{g}{\text{minimize}}  & \quad  \left\|  Ag^{\mathsf T} - b  \right\|^2  \\
\underset{g}{\text{minimize}}  & \quad  \left\|  Ag^{\mathsf T} - b  \right\|^2  \\
\text{s.t.} & \quad \phantom{\|} Cg^{\mathsf T} - d  = 0 \\
\text{s.t.} & \quad \phantom{\|} Cg^{\mathsf T} - d  = 0 \\
\end{align}
\end{aligned}
</math>
</math>