Re: [Numpy-discussion] Generator arrays

2011-01-31 Thread Neal Becker
I'm not sure how it applies to this discussion, but I'd just like to mention that a lot of interest (in c++ and d communities) has moved away from using iterators as the fundamental interface to containers and to ranges as the interface. ___

Re: [Numpy-discussion] Generator arrays

2011-01-28 Thread Dag Sverre Seljebotn
On 01/28/2011 01:01 AM, Travis Oliphant wrote: Just to start the conversation, and to find out who is interested, I would like to informally propose generator arrays for NumPy 2.0. This concept has as one use-case, the deferred arrays that Mark Wiebe has proposed. But, it also allows

Re: [Numpy-discussion] Generator arrays

2011-01-28 Thread Dag Sverre Seljebotn
On 01/28/2011 12:37 PM, Dag Sverre Seljebotn wrote: On 01/28/2011 01:01 AM, Travis Oliphant wrote: Just to start the conversation, and to find out who is interested, I would like to informally propose generator arrays for NumPy 2.0. This concept has as one use-case, the deferred

Re: [Numpy-discussion] Generator arrays

2011-01-28 Thread LluĂ­s
Travis Oliphant writes: This concept has as one use-case, the deferred arrays that Mark Wiebe has proposed. Interesting, I didn't read about that. In fact, I was playing around with a proxy wrapper for ndarrays not long ago, in order to build a tree of deferred operations that can be later

Re: [Numpy-discussion] Generator arrays

2011-01-28 Thread Travis Oliphant
Thanks for the long email. I think there are a lot of thoughts around some of these ideas and it is good to get as many of them articulated as possible. I learn much from these kinds of discussions.I think others value them as well. I like your ideas about what kind of overloading

Re: [Numpy-discussion] Generator arrays

2011-01-28 Thread Mark Wiebe
On Fri, Jan 28, 2011 at 1:18 PM, Travis Oliphant oliph...@enthought.comwrote: Just to start the conversation, and to find out who is interested, I would like to informally propose generator arrays for NumPy 2.0. This concept has as one use-case, the deferred arrays that Mark Wiebe has

[Numpy-discussion] Generator arrays

2011-01-27 Thread Travis Oliphant
Just to start the conversation, and to find out who is interested, I would like to informally propose generator arrays for NumPy 2.0. This concept has as one use-case, the deferred arrays that Mark Wiebe has proposed. But, it also allows for compressed arrays, on-the-fly computed arrays,

Re: [Numpy-discussion] Generator arrays

2011-01-27 Thread Charles R Harris
On Thu, Jan 27, 2011 at 5:01 PM, Travis Oliphant oliph...@enthought.comwrote: Just to start the conversation, and to find out who is interested, I would like to informally propose generator arrays for NumPy 2.0. This concept has as one use-case, the deferred arrays that Mark Wiebe has

Re: [Numpy-discussion] Generator arrays

2011-01-27 Thread Travis Oliphant
What happens to the buffer API/persistence with all those additions? I understand the desire to keep things simple, which is why I am only proposing a rather small change to the array object with *huge* implications --- encompassing the very cool deferred arrays that Mark Wiebe is