Re: [Numpy-discussion] 3D array problem challenging in Python

2013-01-02 Thread Happyman
Hi Chris, Thanks a lot. I did as you advised..but, unfortunately, I could not "negotiate" with "quad" function at all. what do you think if quad function can get arrays or not? Вторник, 1 января 2013, 19:53 -08:00 от Chris Barker - NOAA Federal : >On Sun, Dec 30, 2012 at 6:40 PM, Happyman <

Re: [Numpy-discussion] Numpy speed ups to simple tasks - final findings and suggestions

2013-01-02 Thread Nathaniel Smith
On Wed, Jan 2, 2013 at 2:56 PM, Nathaniel Smith wrote: > On Fri, Dec 21, 2012 at 7:20 PM, Raul Cota wrote: >> b.1) >> I noticed that PyFloat * Float64 resulted in an unnecessary "on the fly" >> conversion of the PyFloat into a Float64 to extract its underlying C >> double value. This happened in

Re: [Numpy-discussion] Numpy speed ups to simple tasks - final findings and suggestions

2013-01-02 Thread Nathaniel Smith
On Fri, Dec 21, 2012 at 7:20 PM, Raul Cota wrote: > Hello, > > > On Dec/2/2012 I sent an email about some meaningful speed problems I was > facing when porting our core program from Numeric (Python 2.2) to Numpy > (Python 2.6). Some of our tests went from 30 seconds to 90 seconds for > example. H

Re: [Numpy-discussion] Do we want scalar casting to behave as it does at the moment?

2013-01-02 Thread Nathaniel Smith
This discussion seems to have petered out without reaching consensus one way or another. This seems like an important issue, so I've opened a bug: https://github.com/numpy/numpy/issues/2878 Hopefully this way we'll at least not forget about it; also I tried to summarize the main issues there and