|
|
|||
|
|
| Mathematica Tutorial | Functions »|Tutorials » |
|
|
|
In Mathematica notebooks, expressions are by default output in StandardForm.
|
OutputForm uses only ordinary keyboard characters and is the default for text-based interfaces to Mathematica.
| ||||||
InputForm yields a form that can be typed directly on a keyboard.
| ||||||
FullForm shows the internal form of an expression in explicit functional notation.
| ||||||
| FullForm[expr] | the internal form of an expression |
| InputForm[expr] | a form suitable for direct keyboard input |
| OutputForm[expr] | a two-dimensional form using only keyboard characters |
| StandardForm[expr] | the default form used in Mathematica notebooks |
Some output forms for expressions.
TraditionalForm uses a large collection of ad hoc rules to produce an approximation to traditional mathematical notation.
| ||||||
TeXForm yields output suitable for export to TeX.
| ||||||
MathMLForm yields output in MathML.
| ||||||
CForm yields output that can be included in a C program. Macros for objects like Power are included in the header file mdefs.h.
| ||||||
FortranForm yields output suitable for export to Fortran.
| ||||||
| TraditionalForm[expr] | traditional mathematical notation |
| TeXForm[expr] | output suitable for export to TEX |
| MathMLForm[expr] | output suitable for use with MathML on the web |
| CForm[expr] | output suitable for export to C |
| FortranForm[expr] | output suitable for export to Fortran |
Output forms not normally used for Mathematica input.
Two ways to communicate between Mathematica and other programs.