[Numpy-discussion] Generalised inner product
Peter Creasey
p.e.creasey.00@googlemail....
Mon May 19 08:25:08 CDT 2008
> > c[i,j,k,l,m] = sum (over x) of a[i,j,x] * b[k,x,l,m]
> >
>
> Try tensordot.
>
> Chuck
That was exactly what I needed. Thanks!
Peter
More information about the Numpy-discussion
mailing list