TimeConstrained
Usage
Notes
Further Examples
TimeConstrained returns $Aborted since it cannot perform this evaluation within seconds.
In[1]:=
|
Out[1]=
|
Evaluate the next two commands to see the greatest positive integer n for which Mathematica can calculate gg[n] on your computer in no more than seconds.
In[2]:=
|
In[3]:=
|
Evaluate the next two commands to see the greatest multiple of decimal places of that your computer can calculate with this version of Mathematica in no more than seconds. The first command ensures that successive evaluations to more decimal places will not make use of earlier results so that true timings are obtained in each case. Evaluate the third command to restore the default setting for "Caching".
In[4]:=
|
In[5]:=
|
In[6]:=
|
In[7]:=
|
See the Further Examples for Timing.
|