This is a different situation because / is indeed an hidden multiplication : a/b = a*inv(b). The same is true for + and - : a-b=a+opp(b). What I'm saying is that these operations * and / are indeed of the very same j-kind.

This is not the same for * and @.

2014-03-18 17:53 GMT+01:00 Nathaniel Smith <njs@pobox.com>:

On Tue, Mar 18, 2014 at 3:22 PM, Christophe Bal <projetmbc@gmail.com> wrote:

> About weak-left. You need to define a priority of @ the matrix productThis doesn't follow. (a / b) * c != a / (b * c), but / and * in

> regarding to * the elementwise product because (A*B)@C <> A*(B@C)

Python have the same priority.

--

Nathaniel J. Smith

Postdoctoral researcher - Informatics - University of Edinburgh

http://vorpus.org

_______________________________________________

NumPy-Discussion mailing list

NumPy-Discussion@scipy.org

http://mail.scipy.org/mailman/listinfo/numpy-discussion