GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing reference.wolfram.com — StandardForm—Wolfram Documentation StandardForm[expr] prints as the standard Wolfram Language two-dimensional representation of expr. Details
Examples
Basic Examples
Scope
Basic Objects
Special Input Forms
Special Output Forms
Properties & Relations
Possible Issues
Neat Examples
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page
StandardFormStandardForm[expr] prints as the standard Wolfram Language two-dimensional representation of expr. Details
Examplesopen all close allBasic Examples (2)StandardForm is used by default for output: x ^ 2 + x ^ (-1) + Pix ^ 2 + x ^ (-1) + Pi//StandardFormStandardForm for graphics: Graphics[{Red, Disk[]}]Graphics3D[Sphere[]]Scope (7)Basic Objects (2)Integer, Rational, Real, and Complex numbers: Map[StandardForm, {123, 1 / 23, 1.23, 1 + 23I}]Arbitrary-precision Real and Complex numbers: StandardForm /@ N[{10 / 3, 10 / 3I}, 20]Special constants: StandardForm /@ {I, Pi, E}Characters and strings of characters: StandardForm /@ {"a", "α", "⊕"}Control characters for strings: StandardForm["A first line
A second line"]Special Input Forms (3)Different Power expressions: StandardForm /@ {a ^ x, a^(1/(3)), Exp[x], x^-1}Special typeset expressions: StandardForm /@ {Subscript[∂, x]y[x], Integrate[y[x], x], Sum[y[k], {k, 1, n}],
Element[x, Reals], (x∧y)∨z}Different list structures: StandardForm /@ {(| | | |
| - | - | - |
| a | b | c |
| d | e | f |), (| | |
| ------------------------------------------------------- | -------------------------------------------------------- |
| (\| \| \| \| - \| - \| \| a \| b \| \| c \| d \|) | (\| \| \| \| - \| - \| \| a \| b \| \| c \| d \|) |
| (\| \| \| \| - \| - \| \| a \| b \| \| c \| d \|) | (\| \| \| \| - \| - \| \| a \| b \| \| c \| d \|) |)}Special Output Forms (2)Some objects use a special output representation: StandardForm[ser = Series[Sin[x], {x, 0, 3}]]Compare with the underlying FullForm of the expression: FullForm[ser]Some objects use an elided output representation: StandardForm[i = Interpolation[{1, 2, 3, 1}]]StandardForm[s = SparseArray[{{1, 2} -> 1}, {5, 5}]]The elided parts are visible using InputForm: InputForm[i]InputForm[s]Properties & Relations (5)When an input evaluates to StandardForm[expr], StandardForm does not appear in the output: StandardForm[x ^ 2]Out is assigned the value x2, not StandardForm[x^2]: %//FullFormStandardForm is two-dimensional unambiguous formatting: StandardForm[Exp[I x / n]]OutputForm approximates StandardForm using keyboard characters: OutputForm[Exp[I x / n]]TraditionalForm is two-dimensional, but ambiguous formatting: TraditionalForm[Exp[I x / n]]InputForm and FullForm provide one-dimensional formatting: InputForm[Exp[I x / n]]FullForm[Exp[I x / n]]Use ToString to generate a string in StandardForm: ToString[a ^ b, StandardForm]The string includes two-dimensional markup: FullForm[%]Use ToExpression to convert back: ToExpression[%]FullForm[%]Use ToBoxes to get the box representation of an expression in StandardForm: ToBoxes[x ^ 2 + y ^ 3, StandardForm]Use ToExpression to convert back: ToExpression[%]Add formatting via Format: bin[x, y]//StandardFormFormat[bin[x_, y_], StandardForm] := MatrixForm[{{x}, {y}}]bin[x, y]//StandardFormPossible Issues (1)Even when an output omits StandardForm from the top level, it is not stripped from subexpressions: e = StandardForm[x ^ 2]The output does not have StandardForm in it: %However, the variable e does have StandardForm in it, which may affect subsequent evaluations: FullForm[e]The product is not evaluated due to the intervening StandardForm: x * eAssign variables first and then apply StandardForm to the result to maintain computability: (f = x ^ 2)//StandardFormx * fNeat Examples (1)Nested roots: Nest[Sqrt[1 + 1 / #]&, x, 10]Nested powers: Nest[x ^ -#&, x, 10]Related GuidesRelated LinksHistoryIntroduced in 1996 (3.0) | Updated in 2007 (6.0)
Wolfram Research (1996), StandardForm, Wolfram Language function, https://reference.wolfram.com/language/ref/StandardForm.html (updated 2007).
TextWolfram Research (1996), StandardForm, Wolfram Language function, https://reference.wolfram.com/language/ref/StandardForm.html (updated 2007). CMSWolfram Language. 1996. "StandardForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/StandardForm.html. APAWolfram Language. (1996). StandardForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StandardForm.html BibTeX@misc{reference.wolfram_2026_standardform, author="Wolfram Research", title="{StandardForm}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/StandardForm.html}", note=[Accessed: 12-November-2026]} BibLaTeX@online{reference.wolfram_2026_standardform, organization={Wolfram Research}, title={StandardForm}, year={2007}, url={https://reference.wolfram.com/language/ref/StandardForm.html}, note=[Accessed: 12-November-2026]} |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |