[Tutor] Finding the minimum value in a multidimensional array

Eike Welk eike.welk at gmx.net
Tue Mar 13 14:20:50 CET 2007


On Tuesday 13 March 2007 11:57, Geoframer wrote:
> Hey everyone,
>
> I've been trying to locate a way to find the location of the
> minimum value in an n*n array.

The 'argmin' function is probably what you are looking for.
See the examples at:

http://www.scipy.org/Numpy_Example_List

Regards Eike.



More information about the Tutor mailing list