Operators for matrix: current choices (Was Matlab vs Python ...)
Paul Prescod
paul at prescod.net
Tue Jul 18 23:22:34 EDT 2000
Tim Hochberg wrote:
>
> Similarly:
>
> dot((A,B), C) -> A(B)(C)
> dot(A, dot(B,C) -> A(B(C))
>
> which looks pretty good to me. And it's arguably closer to paper
> linear algebra notation than A*B is.
Another good idea! You can even make it look like the new-syntax
proposal:
A()*B()*C
A()+B()+C
A()-B()-C
--
Paul Prescod - Not encumbered by corporate consensus
Just how compassionate can a Republican get before he has to leave the
GOP and join Vegans for Global Justice? ... One moment, George W. Bush
is holding a get-to-know-you meeting with a bunch of gay Republicans.
The next he is holding forth on education or the environment ... It is
enough to make a red-blooded conservative choke on his spotted-owl
drumstick. - April 29th, Economist
More information about the Python-list
mailing list