Hi,
I've been developing a program that involves many calls to the maxval and maxloc operating on the same array. I'm wondering if anyone has ever used a subroutine that combines these two, i.e. returns the maxval and its location.
It seems goofy to find the maximum, and then find it again...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.