How to find maximal entry in a Numpy array?
Konrad Hinsen
hinsen at cnrs-orleans.fr
Wed May 5 10:23:54 EDT 1999
alex <alex at somewhere.around.here> writes:
> In the end, I'm probably not going to be happy with just the maximal
> value, either. If there's a fast way to get all the indices, sorted by
> their values, that would be even better.
And that's exactly what Numeric.argsort() returns!
--
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron | Fax: +33-2.38.63.15.17
45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
France | Nederlands/Francais
-------------------------------------------------------------------------------
More information about the Python-list
mailing list