shunwang / numexpr

Automatically exported from code.google.com/p/numexpr
MIT License
0 stars 0 forks source link

Add minimum, maximum functions #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful to add np.mininum and np.maximum functions.
'maximum(x-a, 0)' would be faster and clearer than 'where(x-a>0,x-a,0) 

Original issue reported on code.google.com by pierre.c...@gmail.com on 7 Jun 2012 at 2:43

GoogleCodeExporter commented 9 years ago
Interested in a numpy.min numpy.max equiv.

Original comment by a...@solarrain.com on 30 Aug 2013 at 8:04