TraceForward
Usage
• TraceForward 是Trace和相关函数的一个选项,指定在包括搜寻模式form的计算链是否包括后面的表达式。
Notes
• TraceForward -> True包括在包含form的计算链中的最后的表达式。 • TraceForward -> All 包括在包含form的计算链中的在后的所有表达式。 • TraceForward 允许查看在计算期间产生的表达式上执行的变换。
Further Examples
Here is the recursive definition of the Fibonacci numbers.
In[1]:=
|
Here are the end conditions for the recursion.
In[2]:=
|
This shows all expressions following fib[5] in the evaluation chain of fib[8].
In[3]:=
|
Out[3]=
|
|