TraceBackward
Usage
• TraceBackward 是Trace和相关函数的一个选项,指定是否在包含搜寻的模式form的计算链中包括以前的表达式。
Notes
• TraceBackward -> True在包含的计算链中包括form第一个表达式。 • TraceBackward -> All 在包含form的计算链中包括在form前的所有的表达式。 • TraceBackward 允许在一次计算中查看一个表达式具有的以前形式。
Further Examples
Here is the recursive definition of the Fibonacci numbers.
In[1]:=
|
Here are the end conditions for the recursion.
In[2]:=
|
Out[2]=
|
This shows that the number 5 came from the evaluation of fib[5] during the evaluation of fib[4].
In[3]:=
|
Out[3]=
|
|