A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-July/081542.html below:

[Python-Dev] Infix operators

[Python-Dev] Infix operators [Python-Dev] Infix operatorsGreg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 25 04:08:42 CEST 2008
Fredrik Johansson wrote:

> Anyway, it is easy to define pseudo-operators in Python;
> 
> A *matrixmul* B
> A *dot* B
> A *cross* B
> A *elementwise* B

Urg. This is another one of those recipes that I consider
is too clever for its own good. Very nice in theory,
but I would never use it in real life.

What's more, it doesn't address the real problem at hand,
which is providing a notation for matrix multiplication
that is concise enough to be used *very* frequently --
like multiple times in every line of code that manipulates
matrices.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4