>


        <span class="c1"># If there&#39;s only one object, the distance is 0. </span>
        <span class="c1"># Return the little matrix block</span>
        <span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">rowLabels</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span><span class="p">:</span>
            <span class="n">D</span> <span class="o">=</span> <span class="n">LM</span><span class="p">(</span><span class="n">rows</span> 