|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
$IterationLimit
$IterationLimit
gives the maximum length of evaluation chain used in trying to evaluate any expression.
DetailsDetails
- $IterationLimit limits the number of times Mathematica tries to re-evaluate a particular expression.
- $IterationLimit gives an upper limit on the length of any list that can be generated by Trace.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
The default $IterationLimit:
| In[1]:= |
| Out[1]= |
Define a function in an iterative fashion:
| In[1]:= |
| In[2]:= |
Evaluate by temporarily setting $IterationLimit to a different value:
With a higher $IterationLimit we can compute the function:
| In[4]:= |
| Out[4]= |
New in 2
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
