lized residual, and where
<span class="math inline">\(e_{i}\)</span> is the i<sup>th</sup>
residual vector, and <span class="math inline">\(\Sigma_{i}^{-1}\)</span> the i<sup>th</sup>
residual precision matrix.</p>
<p>The <code>loss</code> argument changes the function <span class="math inline">\(f\)</span> as follows:</p>
<ol style="list-style-type: decimal">
<li><p>If <code>loss='quadratic'</code> then <span class="math inline">\(f\)</span> is quadratic in the residuals i.e.
<span class="math display">\[
