BUILT-IN MATHEMATICA SYMBOL

TraceOriginal

TraceOriginal
is an option for Trace and related functions which specifies whether to test the form of each expression before its head and arguments are evaluated.

DetailsDetails

  • With the default TraceOriginal->False, the forms of expressions generated during an evaluation are tested only after their head and arguments have been evaluated. In addition, evaluation chains for expressions which do not change under evaluation are not included.
  • With TraceOriginal->True, the forms before evaluation of the head and arguments are also tested, and evaluation chains for expressions which do not change under evaluation are included.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Trace evaluation of an expression showing evaluation chains for expressions that change:

In[1]:=
Click for copyable input
Out[1]=

Show evaluation chains even for expressions that do not change:

In[2]:=
Click for copyable input
Out[2]=
New in 2
New to Mathematica? Find your learning path »
Have a question? Ask support »