Is numarray matrixmultiply supposed to transpose the second argument?

Raoul meuldijk at
Mon Jul 19 09:54:42 CEST 2004

It appears that matrixmultiply(A,B) has a side-effect of transposing the
second argument (B).
Is this supposed to happen?
Is there anyway to prevent it from transposing?

This shows what happens:

#! /usr/bin/env python
from numarray import *



print "A and B before matmul:"
print A
print B


print "AxB, A, B, after matmul:"
print AB
print A
print B

print"Apparantly, the second argument of matrixmultiply(A,B) is always
------------ And now a word from our sponsor ----------------------
For a quality mail server, try SurgeMail, easy to install,
fast, efficient and reliable.  Run a million users on a standard
PC running NT or Unix without running out of power, use the best!
----  See  ----

More information about the Python-list mailing list