You are here

Revision of Operator Precedence from Thu, 10/01/2009 - 22:34

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Precedence of Operators in R

Name Symbol
Parentheses ()
Element Powering ^
Unary plus, minus +,-
Matrix multiply, Kronecker product, Quadratic product %*%, %x%, %&%
Dot product, Element divide *, /
Binary plus, minus +, -

Source: R language definition

Precedence of Operators in Mx 1.0

Name Symbol
Parentheses ()
Inverse, Transpose, Unary minus ~, ',-
Element Powering ^
Multiplication, Dot product, Kronecker product, Quadratic product, Element division *, ., @, &, %
Addition, Subtraction, Horizontal adhesion, Vertical adhesion +, -, |, _

Source: Mx manual