class="n">out</span><span class="o">=</span><span class="n">valsr</span><span class="p">(</span><span class="n">indx</span><span class="p">(:</span><span class="n">ivals</span><span class="p">))</span><span class="w"></span>
<span class="w">        </span><span class="k">do </span><span class="n">i</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span><span class="n">ivals</span><span class="o">-</span><span class="mi">1</span><span class="w"></span>
<span class="w">           </spa