Re: [Numpy-discussion] Reductions and binary ops on recarrays...

2009-07-30 Thread josef . pktd
On Thu, Jul 30, 2009 at 2:41 PM, Fernando Perez wrote: > On Thu, Jul 30, 2009 at 7:55 AM, wrote: >> Are these functions really for a relevant use case of structured >> arrays. I haven't seen any examples of multidimensional structured >> arrays, but from a quick reading it doesn't seem to handle m

Re: [Numpy-discussion] Reductions and binary ops on recarrays...

2009-07-30 Thread Fernando Perez
On Thu, Jul 30, 2009 at 7:55 AM, wrote: > Are these functions really for a relevant use case of structured > arrays. I haven't seen any examples of multidimensional structured > arrays, but from a quick reading it doesn't seem to handle mixed types > (raises error) or nested structured arrays (I'm

Re: [Numpy-discussion] Reductions and binary ops on recarrays...

2009-07-30 Thread Fernando Perez
2009/7/30 Stéfan van der Walt : > I'm in favour of such a patch, but I'd like to see whether we can't do > it at the C level for structured arrays in general. > That would indeed be ideal. But I should add that I was not proposing it as a patch, rather as a utility others might find useful to kee

Re: [Numpy-discussion] Reductions and binary ops on recarrays...

2009-07-30 Thread josef . pktd
2009/7/30 Stéfan van der Walt : > 2009/7/30 Fernando Perez : >> we recently had a discussion about being able to do some common things >> like reductions and binary operations on recarrays, and there didn't >> seem to be much consensus on it being needed in the core of numpy. >> >> Since  we do act

Re: [Numpy-discussion] Reductions and binary ops on recarrays...

2009-07-30 Thread Stéfan van der Walt
2009/7/30 Fernando Perez : > we recently had a discussion about being able to do some common things > like reductions and binary operations on recarrays, and there didn't > seem to be much consensus on it being needed in the core of numpy. > > Since  we do actually need this quite pressingly for ev

[Numpy-discussion] Reductions and binary ops on recarrays...

2009-07-30 Thread Fernando Perez
Howdy, we recently had a discussion about being able to do some common things like reductions and binary operations on recarrays, and there didn't seem to be much consensus on it being needed in the core of numpy. Since we do actually need this quite pressingly for everyday tasks, we wrote a ver