What is the precedence wrt Mathematica infix operators
- To: mathgroup at smc.vnet.net
- Subject: [mg82800] What is the precedence wrt Mathematica infix operators
- From: congruentialuminaire at yahoo.com
- Date: Wed, 31 Oct 2007 06:13:44 -0500 (EST)
Hello Mathematica UG: I cannot find operator precedence documented anywhere. With the operators from Fortran (in the old days) this was always clear, i.e '/' before '-'. I have been reading some code in the Trott Guidebooks which has constructions like 'Head @@ face[[i]] / order'. I can guess that Part has precedence in this expression, but what about Apply vs. Times? Looking at the OutputForm shows that Apply has precendence. But,... - Is this documented somewhere? - Do all Mathematica operators take precedence over arithmetic operators? TIA. Regards..