Hi!

I was looking for a method to find the indices of the smallest element
of an 3-dimensional array a. Therefore i used

a.argmax()

The problem was, that argmax gives me a flat index. My question is, if
there is a build-in function to convert the flat index back to a
multidimensional one. I know how to write such a procedure but was
curious if one exists in numpy.

Thanks for response and the really impressive software package.

Tobi

_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to