[SciPy-user] Matrix Multiply for > 2 dim matricies?

aurelian a.u.r.e.l.i.a.n at gmx.net
Tue Jan 31 01:56:25 CST 2006


I think it is a bug, I stumbled upon it just yesterday. It occurs in
both Numeric and numpy.

As long as it is not fixed, you can try to put the 2d matrix in the 2nd
place like this:

A=matrixmultiply(swapaxes(C, 3, 4), transpose(B)).

Maybe this will yield the correct result (see my mail from yesterday
16:50 GMT).

Best regards,
Johannes Loehnert

More information about the SciPy-user mailing list