[Numpy-discussion] sum and mean methods behaviour

Todd Miller jmiller at stsci.edu
Wed Sep 3 05:44:11 EDT 2003


On Tue, 2003-09-02 at 15:20, Fernando Perez wrote:
> Todd Miller wrote:
> 
> > I thought about this a lot yesterday and today talked it over with
> > Perry.   There are several ways to fix the problem with mean() and
> > sum(), and I'm hoping that you and the rest of the community will help
> > sort them out.
> 
> [snip]
> 
> Just a thought: why not make the upcasting an optional parameter?
> 
<snip>
That sounds like a great idea.  Simple, but doesn't throw out all
storage control.

> in most cases where you encapsulate low level details in 
> a high level abstraction, there end up being situations where the details poke 
> through the abstraction and cause you grief.  

Thanks for these kind words.  

-- 
Todd Miller <jmiller at stsci.edu>





More information about the NumPy-Discussion mailing list