[Numpy-discussion] matrix multiplication

Gael Varoquaux gael.varoquaux at normalesup.org
Sat Jun 6 03:57:01 EDT 2009


On Fri, Jun 05, 2009 at 06:02:09PM -0400, Alan G Isaac wrote:
> 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.

I am +1e4 on that proposition.

My 1e-2 euros.

Gaël



More information about the NumPy-Discussion mailing list