Re: [Numpy-discussion] My GSoC Proposal to Implement a Subset of NumPy for PyPy

2010-04-18 Thread David Cournapeau
Hi Dan, On Sat, Apr 17, 2010 at 1:50 PM, Dan Roberts ademan...@gmail.com wrote: Hello NumPy Users,     Hi everybody, my name is Dan Roberts, and my Google Summer of Code proposal was categorized under NumPy rather than PyPy, so it will end up being reviewed by mentors for the NumPy project. 

Re: [Numpy-discussion] My GSoC Proposal to Implement a Subset of NumPy for PyPy

2010-04-18 Thread Pauli Virtanen
su, 2010-04-18 kello 19:05 +0900, David Cournapeau kirjoitti: [clip] First, an aside: with the recent announcement from pypy concerning the new way of interfacing with C, wouldn't it make more sense to go the other way around - i.e. starting from full numpy, and replace some parts in rpython

[Numpy-discussion] np.mean and np.std performances

2010-04-18 Thread Davide Lasagna
Hi all, I noticed some performance problems with np.mean and np.std functions. Here is the console output in ipython: # make some test data : a = np.arange(80*64, dtype=np.float64).reshape(80, 64) : c = np.tile( a, [1, 1, 1]) : timeit np.mean(c, axis=0) 1 loops, best of 3: 2.09 s per loop

Re: [Numpy-discussion] Bug in numpy.fix(): broken for scalar arguments

2010-04-18 Thread Darren Dale
On Sat, Apr 17, 2010 at 4:16 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Apr 17, 2010 at 2:01 PM, Eric Firing efir...@hawaii.edu wrote: np.fix() no longer works for scalar arguments: In [1]:import numpy as np In [2]:np.version.version Out[2]:'2.0.0.dev8334' In

Re: [Numpy-discussion] Bug in numpy.fix(): broken for scalar arguments

2010-04-18 Thread Darren Dale
On Sun, Apr 18, 2010 at 9:08 AM, Darren Dale dsdal...@gmail.com wrote: On Sat, Apr 17, 2010 at 4:16 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Apr 17, 2010 at 2:01 PM, Eric Firing efir...@hawaii.edu wrote: np.fix() no longer works for scalar arguments: In [1]:import

Re: [Numpy-discussion] Math Library

2010-04-18 Thread Sebastian Walter
On Tue, Apr 13, 2010 at 12:29 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Apr 12, 2010 at 4:19 PM, Travis Oliphant oliph...@enthought.com wrote: On Apr 11, 2010, at 4:17 PM, Sebastian Walter wrote: Ermm, the reply above is quite poor, sorry about that. What I meant

Re: [Numpy-discussion] Bug in numpy.fix(): broken for scalar arguments

2010-04-18 Thread Darren Dale
On Sun, Apr 18, 2010 at 9:28 AM, Darren Dale dsdal...@gmail.com wrote: On Sun, Apr 18, 2010 at 9:08 AM, Darren Dale dsdal...@gmail.com wrote: On Sat, Apr 17, 2010 at 4:16 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Apr 17, 2010 at 2:01 PM, Eric Firing efir...@hawaii.edu

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Pradeep Jha
Hi, how do I figure where did my numpy got installed to? I downloaded a tar.gz file and then unzipped it at /nfs/carv/d1/people/pradeep/src/numpy-1.3.0/. I didn't do any additional installation steps. Also, just fyi, I don't have root access to this system. Thanks 2010/4/16 Robert Kern

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Pradeep Jha
Hi, I am running python 2.4.4. I installed numpy using the command* * *python setup.py install --prefix=$HOME/**bin* my site-packages directory got installed to the following address:* /nfs/carv/d1/people/pradeep/bin/lib/python2.4* in my preconfig file I changed the path to the following as

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Robert Kern
On Sun, Apr 18, 2010 at 13:32, Pradeep Jha jh...@utias.utoronto.ca wrote: Hi, I am running python 2.4.4. I installed numpy using the command python setup.py install --prefix=$HOME/bin That's not a good prefix. --prefix=$HOME would be better. It will create, if necessary, bin/ and lib/

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Pradeep Jha
Hi, I am setting NUMPY_INC_DIR to what you said but still am getting the same error. Basically, there is no directory path like ***/include/python/*** anywhere in the installed numpy directory. whatever I am setting in my NUMPY_INC_DIR, the preconfig file tries to add a /include/python to

Re: [Numpy-discussion] Numpy compilation error

2010-04-18 Thread Robert Kern
On Sun, Apr 18, 2010 at 19:49, Pradeep Jha jh...@utias.utoronto.ca wrote: Hi, I am setting NUMPY_INC_DIR to what you said but still am getting the same error. Basically, there is no directory path like ***/include/python/*** anywhere in the installed numpy directory. This is correct. No

Re: [Numpy-discussion] My GSoC Proposal to Implement a Subset of NumPy for PyPy

2010-04-18 Thread Dan Roberts
On Apr 18, 2010 6:46 PM, Dan Roberts ademan...@gmail.com wrote: I've been trying my best to take my time formulating my replies but I need to respond eventually. :-) This is embarassing, but I'm actually not sure where I talked about an interface specifically. I did rather nebulously talk

[Numpy-discussion] Release candidate 3 for NumPy 1.4.1 and SciPy 0.7.2

2010-04-18 Thread Ralf Gommers
Hi, I am pleased to announce the third release candidate of both Scipy 0.7.2 and NumPy 1.4.1. Please test, and report any problems on the NumPy or SciPy list. Binaries, sources and release notes can be found at https://sourceforge.net/projects/numpy/files/