[MATRIX-SIG] matrix product in NumPy
James Boyle
boyle@pcmdi.llnl.gov
Thu, 13 Nov 1997 11:13:35 -0800 (PST)
This is a very simple question.
Given two arrays: a = M x N and b = N x P
How do I compute:
c = ab, such that c = M x P.
The is the simple matrix product.
The function Numeric.dot, only seems to work
for arrays of the same size a = M x N and b = M x N
What am I missing? the documentation of the Dot
in Numpy is a bit cryptic, indicating that it needs
to be done right someday - what does this mean?
Thanks for any help.
Jim
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________