Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 1

2011-05-03 Thread Ralf Gommers
On Mon, May 2, 2011 at 10:55 PM, Mark Wiebe mwwi...@gmail.com wrote: I applied everything, since they're all obviously bugs and the fixes look straightforward. I tested those commits on a few python/OS combinations, all looks good. So I'll try to tag an RC2 tonight. Ralf

Re: [Numpy-discussion] Numpy steering group?

2011-05-03 Thread Matthew Brett
Hi, On Sat, Apr 30, 2011 at 5:21 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Wed, Apr 27, 2011 at 8:52 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, This is just to follow up on a dead thread of mine a little while back. I was asking about letters for Clint Whaley's

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Russell E. Owen
In article BANLkTinvVxwmo7t7itxxwZRtp4UY=1e...@mail.gmail.com, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi, I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. ... Sources and binaries can be found at

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Christoph Gohlke
On 5/3/2011 11:18 AM, Ralf Gommers wrote: Hi, I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. Compared to the first release candidate, one segfault on (32-bit Windows + MSVC) and several memory leaks were fixed. If no new problems are reported,

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Ralf Gommers
On Tue, May 3, 2011 at 10:35 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 5/3/2011 11:18 AM, Ralf Gommers wrote: Hi, I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. Compared to the first release candidate, one segfault on (32-bit Windows +

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Ilan Schnell
I'm seeing these three failures on Solaris 5.10 (x86_64, using Python 2.7.1): == FAIL: Test basic arithmetic function errors -- Traceback (most recent call

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread josef . pktd
On Tue, May 3, 2011 at 5:06 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Tue, May 3, 2011 at 10:35 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 5/3/2011 11:18 AM, Ralf Gommers wrote: Hi, I am pleased to announce the availability of the second release candidate of NumPy 1.6.0.

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Derek Homeier
Hi Ralf, I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. Compared to the first release candidate, one segfault on (32-bit Windows + MSVC) and several memory leaks were fixed. If no new problems are reported, the final release will be in one week.

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Keith Goodman
On Tue, May 3, 2011 at 11:18 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. I get one failure when I run from ipython but not python. In ipython I import a few packages at startup. One of those

[Numpy-discussion] Vector/matrix with 3200975422129 elements

2011-05-03 Thread Gaston Fiore
Hello, I'm trying to create a vector (or a matrix, could be either) with 3200975422129 elements but I'm not being successful, get the following error: zeros(width * height, dtype=float32) Killed or zeros((1789127,1789127), dtype=float32) Killed I'm assuming that I'm running out of memory.

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Robert Kern
On Tue, May 3, 2011 at 18:45, Keith Goodman kwgood...@gmail.com wrote: On Tue, May 3, 2011 at 11:18 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. I get one failure when I run from ipython but not

[Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Michael Katz
I have a basic question about applying functions to array elements. There is a rambling introduction here and then I get to the ACTUAL QUESTION about 2/3 of the way down. RAMBLING INTRODUCTION I was trying to do a simple mapping of array values to other values. So I had:

Re: [Numpy-discussion] Numpy steering group?

2011-05-03 Thread Robert Kern
On Tue, May 3, 2011 at 12:07, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Apr 30, 2011 at 5:21 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Wed, Apr 27, 2011 at 8:52 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, This is just to follow up on a dead thread of

Re: [Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Benjamin Root
On Tue, May 3, 2011 at 6:58 PM, Michael Katz michaeladamk...@yahoo.comwrote: I have a basic question about applying functions to array elements. There is a rambling introduction here and then I get to the ACTUAL QUESTION about 2/3 of the way down. RAMBLING INTRODUCTION I was trying to do a

Re: [Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Robert Kern
On Tue, May 3, 2011 at 18:58, Michael Katz michaeladamk...@yahoo.com wrote: I have a basic question about applying functions to array elements. There is a rambling introduction here and then I get to the ACTUAL QUESTION about 2/3 of the way down. RAMBLING INTRODUCTION I was trying to do a

Re: [Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Robert Kern
On Tue, May 3, 2011 at 19:03, Benjamin Root ben.r...@ou.edu wrote: I can't comment much on the questions you raise, but I can certainly suggest that np.where() function might be a much better choice than some of the if-statements. But it won't be any better than the two fancy-indexing

Re: [Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Robert Kern
On Tue, May 3, 2011 at 18:58, Michael Katz michaeladamk...@yahoo.com wrote: So I was trying to find a pure numpy solution for this. I then learned about fancy indexing and boolean indexing, and saw that I could do boolean array version: mapped_colors = np.zeros(unmapped_colors.shape,

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Charles R Harris
On Tue, May 3, 2011 at 4:58 PM, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: Hi Ralf, I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. Compared to the first release candidate, one segfault on (32-bit Windows + MSVC) and several

Re: [Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Michael Katz
Robert, thanks for these quick replies. So, it sounds like the main thing is for me to get better at thinking declaratively in terms of these array operations, instead of the imperative way I normally think about processing arrays in C++. I did look at Numexpr, and that's in the direction I

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Keith Goodman
On Tue, May 3, 2011 at 11:18 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: I am pleased to announce the availability of the second release candidate of NumPy 1.6.0. nanmin and nanmax are much faster in Numpy 1.6. Plus they now return an object that has dtype, etc attributes when the

Re: [Numpy-discussion] Vector/matrix with 3200975422129 elements

2011-05-03 Thread Dan Halbert
On 5/3/2011 7:52 PM, Gaston Fiore wrote: I'm trying to create a vector (or a matrix, could be either) with 3200975422129 elements but I'm not being successful In words, that's about 3.2 trillion float32's, so about 24 trillion bytes, 2^41. So, yes, you are running out of memory, by a factor of

Re: [Numpy-discussion] Vector/matrix with 3200975422129 elements

2011-05-03 Thread Dan Halbert
On 5/3/2011 9:34 PM, Dan Halbert wrote: On 5/3/2011 7:52 PM, Gaston Fiore wrote: I'm trying to create a vector (or a matrix, could be either) with 3200975422129 elements but I'm not being successful In words, that's about 3.2 trillion float32's, so about 24 trillion bytes, 2^41. So, yes, you

Re: [Numpy-discussion] general newbie question about applying an arbitrary function to all elements in a numpy array

2011-05-03 Thread Robert Kern
On Tue, May 3, 2011 at 19:34, Michael Katz michaeladamk...@yahoo.com wrote: Robert, thanks for these quick replies. So, it sounds like the main thing is for me to get better at thinking declaratively in terms of these array operations, instead of the imperative way I normally think about

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Paul Anton Letnes
On Mac OS X 10.6.7 with macports python 2.7 I get as follows: OK (KNOWNFAIL=3, SKIP=1) Python version: Python 2.7.1 (r271:86832, Jan 12 2011, 10:44:27) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin % gfortran --version GNU Fortran (GCC) 4.5.3 Well done to everyone working on numpy 1.6! Paul.