3 ms·
That’s true, but you already can overload other operators like __mul__ to have `x.T() * M * x`.
by hk__2 12y ago
That’s true, but you already can overload other operators like __mul__ to have `x.T() * M * x`.
- dagw 12y ago__mul__ has been used for elementwise multiplication in numerical python for the past 18 years or so. You can argue if it was a good choice or not, but it's a bit too entrenched to change now.