This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Infix

Infix[f[e1, e2, ...]]
prints with f[e1, e2, ...] given in default infix form: e1~f~e2~f~e3....
Infix[expr, h]
prints with arguments separated by h: e1 h e2 h e3....
  • Infix[expr, h, precedence, grouping] can be used to specify how the output form should be parenthesized.
  • Precedence levels are specified by integers. In OutputForm, some precedence levels are:
x.y.z490
x y z400
x+y+z310
xEqualy290
x=y40
  • Possible grouping (associativity) specifications are:
NonAssociativenot associative—always parenthesized
Nonealways associative—never parenthesized
Leftleft associative (e.g., (a/b)/c)
Rightright associative (e.g., a^(b^c))
Use an infix notation:
Use an infix notation:
In[1]:=
Click for copyable input
Out[1]=
New in 1