 class="hl codehilite"><pre><span></span><span class="k">subroutine </span><span class="n">mat_rref</span><span class="p">(</span><span class="n">ar</span><span class="p">,</span><span class="n">ai</span><span class="p">,</span><span class="n">lda</span><span class="p">,</span><span class="n">m</span><span class="p">,</span><span class="n">n</span><span class="p">,</span><span class="n">eps</span><span class="p">)</span>
<span class="kt">integer</span><span class="p">,</span><span class="k">intent</span><sp