ex.Simplex.bary_coords">[docs]</a>    <span class="k">def</span> <span class="nf">bary_coords</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">point</span><span class="p">):</span>
        <span class="k">try</span><span class="p">:</span>
            <span class="n">c</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">point</span> <span class="o">-</span> <span 