Skip to main content

ExpressionTree

ExpressionTree[expr] gives a Tree object from the structure of the expression expr.

ExpressionTree[expr,struct] gives a Tree object from the expression expr with data and subtrees as specified by struct.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.