DOCUMENTATION CENTER SEARCH
Mathematica
>
Symbolic Notational Forms
>
Built-in
Mathematica
Symbol
Defining Output Formats
Tutorials »
|
Postfix
Prefix
PrecedenceForm
See Also »
|
Defining Custom Notation
Symbolic Notational Forms
More About »
Infix
Infix
[
f
[
e
1
,
e
2
,
...
]]
prints with
f
[
e
1
,
e
2
,
...
]
given in default infix form:
e
1
~
f
~
e
2
~
f
~
e
3
...
.
Infix
[
expr
,
h
]
prints with arguments separated by
h
:
e
1
h
e
2
h
e
3
...
.
MORE INFORMATION
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
490
x
y
z
400
x
+
y
+
z
310
x
y
290
x
=
y
40
Possible grouping (associativity) specifications are:
NonAssociative
not associative—always parenthesized
None
always associative—never parenthesized
Left
left associative (e.g.,
(
a
/
b
)/
c
)
Right
right associative (e.g.,
a
^(
b
^
c
)
)
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Use an infix notation:
In[1]:=
Out[1]=
SEE ALSO
Postfix
Prefix
PrecedenceForm
TUTORIALS
Defining Output Formats
MORE ABOUT
Defining Custom Notation
Symbolic Notational Forms
New in 1
© 2008 Wolfram Research, Inc.