On Tue, Mar 18, 2014 at 3:22 PM, Christophe Bal <projet...@gmail.com> wrote: > About weak-left. You need to define a priority of @ the matrix product > regarding to * the elementwise product because (A*B)@C <> A*(B@C) : see the > example above. I say that also from a mathematical point of view.
What example above? > Using mathematical like notations, Matrix1 * Matrix2 * 3 can be written > because (Matrix1 * Matrix2) * 3 = Matrix1 * (Matrix2 * 3). This seems to argue against what you just said. > That's why I think that the weak-left is the better choice. But this is true as well: 3 * Matrix1 * Matrix2 = (3 * Matrix1) * Matrix2 = 3 * (Matrix1 * Matrix2) Does that expression argue for tight-left? -- Robert Kern _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion