MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

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..



  • Prev by Date: How to construct a vector whose elements are also vectors?
  • Next by Date: ReadList -- file size limits?
  • Previous by thread: How to construct a vector whose elements are also vectors?
  • Next by thread: ReadList -- file size limits?