[NumPy-Tickets] [NumPy] #1673: first nonzero element

NumPy Trac numpy-tickets@scipy....
Sat Nov 13 11:30:41 CST 2010


#1673: first nonzero element
-------------------------+--------------------------------------------------
 Reporter:  tom3118      |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:  2.0.0   
Component:  Other        |     Version:  1.5.0   
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by tom3118):

 A related use case is:
 {{{filter(test,A)[0]}}}
 In which either {{{A}}} is long or {{{test}}} is expensive.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1673#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list