[Numpy-discussion] matrix multiply

Stéfan van der Walt stefan at sun.ac.za
Sat Apr 5 22:45:20 EDT 2008


Hi all,

Some discussion recently took place around raising a square matrices
to integer powers.  See ticket #601:

http://scipy.org/scipy/numpy/ticket/601

Anne Archibald wrote a patch which factored 'matrix_multiply' out of
defmatrix (the matrix power implemented for the Matrix class).  After
some further discussion on irc, and some careful footwork so that
everything imports correctly, I checked in

http://projects.scipy.org/scipy/numpy/changeset/4968

The matrix_multiply method is exposed as numpy.linalg.matrix_multiply,
and is not in the top-level numpy namespace (it's a bit crowded there
already).  I'd be glad if you would review the changeset and comment.

Thanks,
Stéfan



More information about the NumPy-Discussion mailing list