nsor.&quot;</span><span class="p">)</span>
        <span class="k">return</span> <span class="n">def_grad</span><span class="o">.</span><span class="n">det</span><span class="o">*</span><span class="n">np</span><span class="o">.</span><span class="n">dot</span><span class="p">(</span><span class="n">np</span><span class="o">.</span><span class="n">dot</span><span class="p">(</span><span class="n">def_grad</span><span class="o">.</span><span class="n">inv</span><span class="p">,</span> <span class="bp">self<