Re: [Numpy-discussion] ndarray and lazy evaluation

2012-02-20 Thread James Bergstra
On Mon, Feb 20, 2012 at 2:57 PM, Lluís wrote: > James Bergstra writes: > [...] > > I should add that the biggest benefit of expressing things as compound > > expressions in this way is not in saving temporaries (though that is > nice) it's > > being able to express enough computation work at a ti

Re: [Numpy-discussion] ndarray and lazy evaluation

2012-02-20 Thread Lluís
James Bergstra writes: [...] > I should add that the biggest benefit of expressing things as compound > expressions in this way is not in saving temporaries (though that is nice) > it's > being able to express enough computation work at a time that it offsets the > time > required to ship the arg

Re: [Numpy-discussion] ndarray and lazy evaluation

2012-02-20 Thread James Bergstra
On Mon, Feb 20, 2012 at 1:01 PM, James Bergstra wrote: > On Mon, Feb 20, 2012 at 12:28 PM, Francesc Alted wrote: > >> On Feb 20, 2012, at 6:18 PM, Dag Sverre Seljebotn wrote: >> > You need at least a slightly different Python API to get anywhere, so >> > numexpr/Theano is the right place to work o

Re: [Numpy-discussion] ndarray and lazy evaluation

2012-02-20 Thread James Bergstra
On Mon, Feb 20, 2012 at 12:28 PM, Francesc Alted wrote: > On Feb 20, 2012, at 6:18 PM, Dag Sverre Seljebotn wrote: > > You need at least a slightly different Python API to get anywhere, so > > numexpr/Theano is the right place to work on an implementation of this > > idea. Of course it would be ni

Re: [Numpy-discussion] ndarray and lazy evaluation

2012-02-20 Thread Dag Sverre Seljebotn
On 02/20/2012 10:04 AM, Francesc Alted wrote: > On Feb 20, 2012, at 6:46 PM, Dag Sverre Seljebotn wrote: > >> On 02/20/2012 09:24 AM, Olivier Delalleau wrote: >>> Hi Dag, >>> >>> Would you mind elaborating a bit on that example you mentioned at the >>> end of your email? I don't quite understand wh

Re: [Numpy-discussion] ndarray and lazy evaluation (was: Proposed Rodmap Overview)

2012-02-20 Thread Olivier Delalleau
Never mind. The link Francesc posted answered my question :) -=- Olivier Le 20 février 2012 12:54, Olivier Delalleau a écrit : > Le 20 février 2012 12:46, Dag Sverre Seljebotn > a écrit : > > On 02/20/2012 09:24 AM, Olivier Delalleau wrote: >> > Hi Dag, >> > >> > Would you mind elaborating a b

Re: [Numpy-discussion] ndarray and lazy evaluation (was: Proposed Rodmap Overview)

2012-02-20 Thread Francesc Alted
On Feb 20, 2012, at 6:46 PM, Dag Sverre Seljebotn wrote: > On 02/20/2012 09:24 AM, Olivier Delalleau wrote: >> Hi Dag, >> >> Would you mind elaborating a bit on that example you mentioned at the >> end of your email? I don't quite understand what behavior you would like >> to achieve > > Sure, s

[Numpy-discussion] ndarray and lazy evaluation (was: Proposed Rodmap Overview)

2012-02-20 Thread Dag Sverre Seljebotn
On 02/20/2012 09:24 AM, Olivier Delalleau wrote: > Hi Dag, > > Would you mind elaborating a bit on that example you mentioned at the > end of your email? I don't quite understand what behavior you would like > to achieve Sure, see below. I think we should continue discussion on numpy-discuss. I w