Operators for everything (was Re: Operators for matrix)

Phil Austin phil at geog.ubc.ca
Sun Jul 23 18:57:44 EDT 2000


"Timothy H. Keitt" <keitt at nceas.ucsb.edu> writes:

> R (www.r-project.org) uses '%' as in A %*% B.  Might be nice to
> standardize.
> 
> Tim

This is the first mention of R/Splus I've seen in this discussion --
for those who don't know, R is the free version of Splus, which is a
very popular language in the academic statistics community.  Here's a
longer list of their operator choices from:

http://stat.ethz.ch/R-alpha/doc/html/function.html

%%                       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)


Phil



More information about the Python-list mailing list