[Numpy-discussion] Matrix dot product over an axis(for a 3d array/list of matrices)
Charles R Harris
Thu Jul 15 13:09:57 CDT 2010
On Thu, Jul 15, 2010 at 12:00 PM, Emmanuel Bengio <email@example.com> wrote:
> Ok I get it. Thanks!
> Numpy syntax that works for me:
The leading "..." gives the same thing, but iterates over all the leading
indicies in case you want multidimensional arrays of matrices ;) You can
also use the sum method which might be a bit more economical:
How do the execution times compare?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion