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

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 15 01:27:22 CET 2014


Antoine Pitrou wrote:
> On Sat, 15 Mar 2014 12:55:38 +1300
> Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 
>>The definition of @ in the proposal is such that two
>>1D arrays is interpreted as horizontal @ vertical.
> 
> Really? That should be up to the third-party library implementing the @
> operator for its types,

It is. It's described as "recommended semantics" in the PEP,
not something defined by the language.

-- 
Greg


More information about the Python-ideas mailing list