> <span class="op"><a href="https://rdrr.io/r/base/matmult.html" class="external-link">%*%</a></span> <span class="fu"><a href="https://rdrr.io/r/base/diag.html" class="external-link">diag</a></span><span class="op">(</span><span class="fl">1</span> <span class="op">/</span> <span class="fu"><a href="../reference/len.html">len</a></span><span class="op">(</span><span class="va">Z</span><span class="op">)</span><span class="op">)</span>    <span class="co"># make each column unit length</span></span>
<span><