Re: [Numpy-discussion] How to remove loops over inner()

2007-11-29 Thread Hans-Andreas Engel
> Essentially, you want to operate on a stack of two dimensional arrays, > correct? Yes, this is correct -- and I also think that one should be able to provide a list of axes to be ignored. > I'd be mildly supportive of something like this for tensordot; I'd prefer > more descriptive name for k

Re: [Numpy-discussion] How to remove loops over inner()

2007-11-27 Thread Timothy Hochberg
On Nov 26, 2007 2:30 PM, Hans-Andreas Engel <[EMAIL PROTECTED]> wrote: > Dear all: > > After using numpy for several weeks, I am very happy about it and > deeply impressed about the performance improvements it brings in my > python code. Now I have stumbled upon a problem, where I cannot use > nu

[Numpy-discussion] How to remove loops over inner()

2007-11-26 Thread Hans-Andreas Engel
Dear all: After using numpy for several weeks, I am very happy about it and deeply impressed about the performance improvements it brings in my python code. Now I have stumbled upon a problem, where I cannot use numpy to eliminate all my loops in python. Currently the return value of inner(a, b)