Discussion: Introducing new operators for matrix computation

Kirill Simonov kirill_simonov at mail.ru
Fri Jul 14 02:16:49 EDT 2000


On Thu, Jul 13, 2000 at 09:23:28PM +0000, Huaiyu Zhu wrote:

> Doesn't this look like the other p language or lisp?  Well, my original post
> missed two parentheses and two matrixmultiply's and nobody even noticed it.
> If one cannot even write X\y in one line, think about how to write a typical
> formula like
> 
> B = inv(A) - A\U/(C+V/A*U)*V/A

You can use '%' for right division.
It has the same precedence as '/', and remainder operator
doesn't occur too often in linear algebra.

And don't forget about '~', '|', '^', and '&'.

--
Kirill




More information about the Python-list mailing list