[Numpy-discussion] arg matrix max question

Eric Hagemann ehagemann at home.com
Tue May 1 20:26:26 EDT 2001


I need to find the location of the maximum value in a two dimensional Numeric array

The best I have come up with uses a couple of calls to argmax and then cross checking the results

I know there must be a better way and that I am not the only one who needs to do such a thing

Anybody got a code snippet to share ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20010501/99f1b96f/attachment.html>


More information about the NumPy-Discussion mailing list