[Numpy-discussion] umath.maximum.reduce

Pierre GM pgmdevlist at gmail.com
Tue May 15 17:52:42 EDT 2007


On Tuesday 15 May 2007 17:34:15 Charles R Harris wrote:

> I see no one answered ;) I think it is traditional behaviour from Numeric,
> so can't be changed without a bit of thought. 

> Why not file a ticket for the 
> 1.1 release and see how folks respond? 
I'll try to.

> Is there any reason why you can't  use the x.max() method?
Actually, there is: I try to redefine the .max() for a subclass (maskedarray). 
The quick fix I used was to ravel my array first if axis=None. my question 
was more theoretical: legacy is a good enough explanation for me...



More information about the NumPy-Discussion mailing list