[Numpy-discussion] It looks like Py 3.5 will include a dedicated infix matrix multiply operator

Nathaniel Smith njs at pobox.com
Fri Mar 14 20:51:45 EDT 2014


Well, that was fast. Guido says he'll accept the addition of '@' as an
infix operator for matrix multiplication, once some details are ironed
out:
  https://mail.python.org/pipermail/python-ideas/2014-March/027109.html
  http://legacy.python.org/dev/peps/pep-0465/

Specifically, we need to figure out whether we want to make an
argument for a matrix power operator ("@@"), and what
precedence/associativity we want '@' to have. I'll post two separate
threads to get feedback on those in an organized way -- this is just a
heads-up.

-n

-- 
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org



More information about the NumPy-Discussion mailing list