[Python-ideas] [RFC] draft PEP: Dedicated infix operators for matrix multiplication and matrix power

Sturla Molden sturla.molden at gmail.com
Sun Mar 23 11:40:10 CET 2014


On 15/03/14 01:09, Antoine Pitrou wrote:

> Really? That should be up to the third-party library implementing the @
> operator for its types, not to the language itself: Python _suggests_
> an use case for @, it doesn't mandate it (especially as there's no
> appropriate data type in the stdlib).

array.array is an appropriate type for supporting @ for matrix 
multiplication.


Sturla





More information about the Python-ideas mailing list