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

Nick Coghlan ncoghlan at gmail.com
Wed Apr 9 13:12:42 CEST 2014


On 8 April 2014 18:32, cjw <fn681 at ncf.ca> wrote:
> Guido,
>
> I am sorry to read this.
>
> I shall be responding more completely in a day or two.
>
> In my view, @ and @@ are completely redundant.  Both operations are  already
> provided, * and **, in numpy.matrix.
>
> PEP 465 provides no clear indication as to how the standard operators fail.

Note that numpy.matrix is specifically discussed in
http://www.python.org/dev/peps/pep-0465/#rejected-alternatives-to-adding-a-new-operator
(it's the first rejected alternative listed).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list