Operators for everything (was Re: Operators for matrix)
Greg Ewing
see at my.signature
Mon Jul 24 23:30:48 EDT 2000
Phil Austin wrote:
>
> %% Arithmetic Operators (base)
> %*% Matrix Multiplication (base)
> %/% Arithmetic Operators (base)
> %in% Value Matching (base)
> %o% Outer Product of Arrays (base)
> %x% Kronecker Product of Arrays (base)
> & Logical Operators (base)
> && Logical Operators (base)
I think this must be the *worst* looking syntax that's
been proposed so far...
I'm beginning to think that simply adding @ for matrix
multiplication, and nothing else, is the least of all
the evils being considered.
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list