[Numpy-discussion] (Late) summary of PEP-225 discussion at Scipy

Eric Firing efiring at hawaii.edu
Mon Oct 27 14:31:44 EDT 2008


James Philbin wrote:
> One operator which could be used is '%'. We could keep the current
> behaviour for ARRAY%SCALAR but have ARRAY%ARRAY as being matrix
> multiplication. It has the same precedence as *,/.
> 

No, having completely unrelated meanings for the same operator symbol 
sounds like a recipe for chaos.  The whole point is to make the code 
more readable, not less.

Eric



More information about the NumPy-Discussion mailing list