Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Input and Output / Formatting Functions  /
Prefix

  • Prefix[ f [ expr ]] prints with f [ expr ] given in default prefix form: f @ expr.
  • Prefix[ f [ expr ], h ] prints as hexpr.
  • Prefix[ expr , h , precedence , grouping ] can be used to specify how the output form should be parenthesized.
  • See the notes for Infix about precedence and grouping.
  • See the Mathematica book: Section 2.8.16.
  • See also: Infix, Postfix.

    Further Examples

    This converts the functional form to the prefix form.

    In[1]:=

    Out[1]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.