Re: [Numpy-discussion] copying in nanXXX

2008-06-29 Thread Charles R Harris
On Sun, Jun 29, 2008 at 6:24 PM, Damian Eads <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm using nansum for some code and noticed it does a bit of copying. > Specifically, the nanxxx functions copy the input array, create an isnan > boolean mask, set the nan values to make them insignificant (nan

[Numpy-discussion] copying in nanXXX

2008-06-29 Thread Damian Eads
Hi there, I'm using nansum for some code and noticed it does a bit of copying. Specifically, the nanxxx functions copy the input array, create an isnan boolean mask, set the nan values to make them insignificant (nansum: 0, nanmin: inf, or nanmax: -inf), and then call xxx to compute the statist