[Python-Dev] PEP 465: A dedicated infix operator for matrix multiplication

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Apr 7 23:06:20 CEST 2014


On Mon, Apr 7, 2014 at 4:55 PM, Victor Stinner <victor.stinner at gmail.com>wrote:

> I proposed to support both syntaxes, so you can write "@" if you are
> unable to write ×.
>

It won't be obvious for the readers of the code whether × stands for @ or
for *. Both * and @ are ASCII approximations to proper mathematical
typesetting.   It may be added to the PEP that × is almost never used for
dot or scalar product.  In vector context it is commonly used for vector
product a.k.a. cross product.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140407/2ed843ca/attachment.html>


More information about the Python-Dev mailing list