[Numpy-tickets] [NumPy] #584: new max/min functions that returns tuple (max, idx)

NumPy numpy-tickets@scipy....
Thu Oct 4 22:44:37 CDT 2007

#584: new max/min functions that returns tuple (max, idx)
 Reporter:  steve_geo    |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  Other        |     Version:  none    
 Severity:  normal       |    Keywords:          
 I request that new max/min functions (of some suitable name)be created
 that returns a tuple of the max value and the index that max is located.

 In my data sets the location of the max is often more important that the
 value of max itself, while I have created a python function to iterate
 through the data set and return what I need. I think it would be trivial
 and faster for numpy to support this request.

Ticket URL: <http://scipy.org/scipy/numpy/ticket/584>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list