[Numpy-discussion] efficient usage of tensordot

2009-01-17 Thread Gideon Simpson
This is related to a question I posted earlier. Suppose I have array A with dimensions n x m x l and array x with dimensions m x l. Interpret this as an array of l nxm matrices and and array of l m dimensional vectors. I wish to compute the matrix- vector product A[:,:,k] x[:,k] for each k

Re: [Numpy-discussion] question about memory ownership

2009-01-17 Thread Robert Kern
On Sat, Jan 17, 2009 at 22:35, Darren Dale wrote: > > On Sat, Jan 17, 2009 at 11:23 PM, Robert Kern wrote: >> >> On Sat, Jan 17, 2009 at 22:06, Darren Dale wrote: >> > Hello, >> > >> > Would someone be so kind as to explain how to create an ndarray subclass >> > that owns its own memory? I think

Re: [Numpy-discussion] question about memory ownership

2009-01-17 Thread Darren Dale
On Sat, Jan 17, 2009 at 11:23 PM, Robert Kern wrote: > On Sat, Jan 17, 2009 at 22:06, Darren Dale wrote: > > Hello, > > > > Would someone be so kind as to explain how to create an ndarray subclass > > that owns its own memory? I think RealisticInfoArray at > > > http://docs.scipy.org/doc/numpy/u

Re: [Numpy-discussion] question about memory ownership

2009-01-17 Thread Robert Kern
On Sat, Jan 17, 2009 at 22:06, Darren Dale wrote: > Hello, > > Would someone be so kind as to explain how to create an ndarray subclass > that owns its own memory? I think RealisticInfoArray at > http://docs.scipy.org/doc/numpy/user/basics.subclassing.html#basics-subclassing > does not own its own

[Numpy-discussion] question about memory ownership

2009-01-17 Thread Darren Dale
Hello, Would someone be so kind as to explain how to create an ndarray subclass that owns its own memory? I think RealisticInfoArray at http://docs.scipy.org/doc/numpy/user/basics.subclassing.html#basics-subclassingdoes not own its own memory, do you have to call ndarray.__new__ directly, or is th

Re: [Numpy-discussion] Please don't use google code for hosting

2009-01-17 Thread Georg Holzmann
Hallo! Thanks, this is interesting ! Do you also know how the situation is with sourceforge/launchpad/trac... and other popular hosting systems ? Do they also have these restrictions ? LG Georg Matthew Brett schrieb: > Hi, > > I am just visiting colleagues in the Cuban Neuroscience Center, a

Re: [Numpy-discussion] ANN: Numexpr 1.1, an efficient array evaluator

2009-01-17 Thread David Cournapeau
On Sat, Jan 17, 2009 at 4:35 AM, Gregor Thalhammer wrote: > Francesc Alted schrieb: >> A Friday 16 January 2009, Gregor Thalhammer escrigué: >> >>> I also gave a try to the vector math library (VML), contained in >>> Intel's Math Kernel Library. This offers a fast implementation of >>> mathematica