Infix

Infix[f[e1, e2, ...]]
prints with given in default infix form: .

Infix[expr, h]
prints with arguments separated by h: .

DetailsDetails

  • 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.z
    x y z
    x+y+z
    x==y
    x=y
  • Possible grouping (associativity) specifications are:
  • NonAssociativenot associative—always parenthesized
    Nonealways associative—never parenthesized
    Leftleft associative (e.g., )
    Rightright associative (e.g., )
New in 1
New to Mathematica? Find your learning path »
Have a question? Ask support »