PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Built-in
Mathematica
Symbol
Tracing Evaluation
Tutorials »
|
Trace
TraceOff
See Also »
TraceDepth
TraceDepth
is an option for
Trace
and related functions which specifies the maximum nesting of evaluation chains that are to be included.
MORE INFORMATION
Setting
TraceDepth->
n
keeps only parts down to level
n
in nested lists generated by
Trace
.
By setting
TraceDepth
, you can make
Trace
and related functions skip over "inner" parts of a computation, making their operation more efficient.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
A recursive definition for finding Fibonacci numbers:
In[1]:=
Trace only evaluations through depth 3:
In[2]:=
Out[2]=
Trace all evaluations:
In[3]:=
Out[3]=
SEE ALSO
Trace
TraceOff
TUTORIALS
Tracing Evaluation
New in 2
© 2008 Wolfram Research, Inc.