Infix
Usage
• Infix[f[ , , ... ]] prints with f[ , , ... ] given in default infix form: ~ f ~ ~ f ~ ... . • Infix[expr, h] prints with arguments separated by h: h h ... .
Notes
• 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)) |
• New in Version 1.
|