Finding [index of] the minimal value in array which satisfies a condition in Fortran

Viewed 3686

I am looking for a minimal value in an array which is larger than a certain number. I found this discussion which I don't understand. There is MINLOC, 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.)

2 Answers
Related