title: Finding [index of] the minimal value in array which satisfies a condition in Fortran
body: <p>I am looking for a minimal value in an array which is larger than a certain number. I found <a href="http://computer-programming-forum.com/49-fortran/bed42cb39415952f-2.htm" rel="nofollow"><strong>this discussion</strong></a> which I don't understand. There is <code>MINLOC</code>, but it looks like it does not do as much as I would like on its own, though I didn't parse the arguments passed to it in the given examples. (It is also possible to do this using a loop but it could be clumsy.)</p>