[SciPy-user] matrix mult operator

Robert Kern robert.kern@gmail....
Mon Jun 25 11:49:26 CDT 2007

dmitrey wrote:

> what about an operator, something like !* or *!
> def evalF(A,B,C, D):
>     return A !* (B !* C).T !* D + C !* (D !* B).T * A
> it's much more readable.
> Of course, you can wait till Python will support unicode, but as for me 
> I would prefere not to wait so long.

We do not control the Python language. We cannot add operators to the language.
FWIW, the support of Unicode identifiers that is coming in 3.0 still won't allow
you to define new operators.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the SciPy-user mailing list