Mathematica 9 is now available

TraceForward

Usage

TraceForwardTrace和相关函数的一个选项,指定在包括搜寻模式form的计算链是否包括后面的表达式。


Notes

TraceForward -> True包括在包含form的计算链中的最后的表达式。
TraceForward -> All 包括在包含form的计算链中的在后的所有表达式。
TraceForward 允许查看在计算期间产生的表达式上执行的变换。
• 参见Mathematica 全书: 2.5.10.
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]=



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.