This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Format Types  /
TreeForm

  • TreeForm[ expr ] prints with different levels in expr shown at different depths.
  • See the Mathematica book: Section 2.1.6Section 2.1.6.
  • See also: FullForm, MatrixForm.
  • Related package: DiscreteMath`Tree`.

    Further Examples

    Here is a polynomial shown in TreeForm.

    In[1]:=

    Out[1]//TreeForm=