<span class="number">2</span><span class="special">;</span>
<span class="special">}</span> <span class="comment">// template &lt;class T&gt; T elliptic_root_noderiv(T x)</span>
</pre>
<p>
        This function generally finds the root within 8-10 iterations, so given that
        the runtime is completely dominated by the cost of calling the ellliptic
        integral it would be nice to reduce that count somewhat. We'll try to do
        that by using a derivative-based method; the derivatives of this func