Mathematica 9 is now available

TraceAbove

Usage

TraceAboveTrace和相关函数的一个选项,指定是否包括计算链,该计算链包括包含搜寻的模式form的计算链。


Notes

TraceAbove -> True 包括所有的计算链中第一和最后一个表达式,在那儿出现包含form的计算链。
TraceAbove -> All包括在这些计算链中所有的表达式。
TraceAbove ->  backward, forward 允许在前向和后向分别指定包含的表达式。
• 使用TraceAbove,可以查看在一次计算中出现的匹配 form 的表达式的完全路径。
• 参见Mathematica 全书: 2.5.10.
• 同时参见: StackComplete.
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 all the ways that fib[2] is generated during the evaluation of fib[5].

In[3]:=  

Out[3]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.