div class="line">    <span class="comment">! Rosenbrock&#39;s Function</span></div>
<div class="line">    <span class="keyword">function </span>rosenbrock(x) <span class="keyword">result</span>(f)</div>
<div class="line"><span class="keywordtype">        real</span>(real64), <span class="keywordtype">intent(in)</span>, <span class="keywordtype">dimension(:)</span> :: x</div>
<div class="line"><span class="keywordtype">        real</span>(real64) :: f</div>
<div class="line">        f = 1.0d2 * (x(2) - x(1)*