Trace
Usage
Notes
Further Examples
This shows the order of operations in a simple arithmetic expression.
In[1]:=
|
Out[1]=
|
Here is the recursive definition of the Fibonacci numbers.
In[2]:=
|
Here are the end conditions for the recursion.
In[3]:=
|
Out[3]=
|
This tells Trace to return only the arguments of fib used in the evaluation of fib[5].
In[4]:=
|
Out[4]=
|
This shows all occurrences of fib in the evaluation of fib[3].
In[5]:=
|
Out[5]=
|
In[6]:=
|
|