Re: [Numpy-discussion] Adding an ndarray.dot method

2010-04-30 Thread Fernando Perez
On Thu, Apr 29, 2010 at 12:30 PM, Pauli Virtanen wrote: > > I think I'm going to apply this, unless someone complains, as I > don't see any downsides (except maybe adding one more to the > huge list of methods ndarray already has). But one of the most badly needed ones, so run, don't walk to comm

Re: [Numpy-discussion] How to make scipy.interpolate give a an extrapolated result beyond the input range?

2010-04-30 Thread josef . pktd
On Fri, Apr 30, 2010 at 12:18 PM, Salim, Fadhley (CA-CIB) wrote: > I'm trying to port a program which currently uses a hand-rolled C++ > interpolator (developed by a mathematician colleage) over to use the > interpolators provided by scipy. I'd like to use or wrap the scipy > interpolator so that

[Numpy-discussion] How to make scipy.interpolate give a an extrapolated result beyond the input range?

2010-04-30 Thread Salim, Fadhley (CA-CIB)
I'm trying to port a program which currently uses a hand-rolled C++ interpolator (developed by a mathematician colleage) over to use the interpolators provided by scipy. I'd like to use or wrap the scipy interpolator so that it's behavior is as close as possible behavior to our old interpolator. A

Re: [Numpy-discussion] Numpy compilation error

2010-04-30 Thread Pradeep Jha
Thanks. That works. 2010/4/29 David Cournapeau > On Fri, Apr 30, 2010 at 5:23 AM, Pradeep Jha > wrote: > > Hi, > > > > I have a few questions: > > > > 1) > > I downloaded numpy1.3.0 and installed it in a directory using the command > > python setup.py install --prefix=$HOME/src/numpy > > and I

Re: [Numpy-discussion] Adding an ndarray.dot method

2010-04-30 Thread Gael Varoquaux
On Thu, Apr 29, 2010 at 07:30:31PM +, Pauli Virtanen wrote: > a.dot(b.dot(c)) > And here's an implementation: > > http://github.com/pv/numpy-work/commit/414429ce0bb0c4b7e780c4078c5ff71c113050b6 /me very happy. Gaƫl ___ NumPy-Discussio

Re: [Numpy-discussion] Numpy compilation error

2010-04-30 Thread David Cournapeau
On Fri, Apr 30, 2010 at 5:23 AM, Pradeep Jha wrote: > Hi, > > I have a few questions: > > 1) > I downloaded numpy1.3.0 and installed it in a directory using the command > python setup.py install --prefix=$HOME/src/numpy > and I see that numpy files have been generated in that directory. > > Now wh

Re: [Numpy-discussion] Adding an ndarray.dot method

2010-04-30 Thread David Warde-Farley
Pauli Virtanen wrote: > Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote: > [clip] > >> Here is a related ticket that proposes a more explicit alternative: >> adding a ``dot`` method to ndarray. >> http://projects.scipy.org/numpy/ticket/1456 >> > > I kind of like this idea. Simple, obvio

Re: [Numpy-discussion] Adding an ndarray.dot method

2010-04-30 Thread Charles R Harris
On Thu, Apr 29, 2010 at 1:30 PM, Pauli Virtanen wrote: > Wed, 28 Apr 2010 14:12:07 -0400, Alan G Isaac wrote: > [clip] > > Here is a related ticket that proposes a more explicit alternative: > > adding a ``dot`` method to ndarray. > > http://projects.scipy.org/numpy/ticket/1456 > > I kind of like