On Fri, Jun 5, 2009 at 4:02 PM, Alan G Isaac <ais...@american.edu> wrote:

> 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)
>

I prefer using the evaluation operator, so that becomes

A(B)(C) or, changing the multiplication order a bit, A(B(C))

Chuck
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to