[Python-Dev] Matrix product
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Jul 30 03:30:20 CEST 2008
Guido van Rossum wrote:
> last time '@' was considered as a new operator, that character had no
> uses in the language at all. Now it is the decorator marker.
The only alternatives left would seem to be ?, ! or $,
none of which look particularly multiplicationish.
> But would it be totally outlandish to propose A**B for matrix
> multiplication? I can't think of what "matrix exponentiation" would
> mean...
But ** has the same problem -- it already represents
an elementwise operation on numpy arrays.
--
Greg
More information about the Python-Dev
mailing list