[Numpy-discussion] matrix multiplication

Alan G Isaac aisaac@american....
Fri Jun 5 17:02:09 CDT 2009


On 6/5/2009 5:41 PM Chris Colbert apparently wrote:
> well, it sounded like a good idea.


I think something close to this would be possible:
add dot as an array method.
	A .dot(B) .dot(C)
is not as pretty as
	A * B * C
but it is much better than
	np.dot(np.dot(A,B),C)

In fact it is so much better, that it
might (?) be worth considering separately
from the entire matrix discussion.

And it does not provide a matrix exponential,
of course.

Alan Isaac



More information about the Numpy-discussion mailing list