="fu">squared_euclidean</span><span class="op">(</span>P <span class="op">=</span> <span class="fl">1</span><span class="op">:</span><span class="fl">10</span><span class="op">/</span><span class="fu"><a href="https://rdrr.io/r/base/sum.html" class="external-link">sum</a></span><span class="op">(</span><span class="fl">1</span><span class="op">:</span><span class="fl">10</span><span class="op">)</span>, Q <span class="op">=</span> <span class="fl">20</span><span class="op">:</span><span class="fl">29</span>