Re: [Numpy-discussion] nicest way to apply an arbitrary sequence of row deltas to an array

2009-12-21 Thread George Dahl
So with bincount I can exchange a loop over P for a loop over M? I guess for me that is still really helpful. Thanks! - George On Mon, Dec 21, 2009 at 6:35 AM, Pauli Virtanen wrote: > Mon, 21 Dec 2009 09:35:08 +, Neil wrote: > [clip] >> I'm also interested to see if there are any answers to

[Numpy-discussion] nicest way to apply an arbitrary sequence of row deltas to an array

2009-12-20 Thread George Dahl
Hi everyone, I was wondering if anyone had insight on the best way to solve the following problem. Suppose I have a numpy array called U. U has shape (N,M) Suppose further that I have another array called dU and that dU has shape (P,M) and that P has no particular relationship to N, it could be la

Re: [Numpy-discussion] Fwd: GPU Numpy

2009-09-08 Thread George Dahl
Sturla Molden molden.no> writes: > > Erik Tollerud skrev: > >> NumPy arrays on the GPU memory is an easy task. But then I would have to > >> write the computation in OpenCL's dialect of C99? > > This is true to some extent, but also probably difficult to do given > > the fact that paralellizabl