Compile
Usage
Notes
Further Examples
This is an iteration of times starting with a value of .
In[1]:=
|
Out[1]=
|
Compiling this procedure speeds it up considerably, especially for a large number of iterations.
In[2]:=
|
In[3]:=
|
Out[3]=
|
This compiles an expression that performs an operation on a matrix.
In[4]:=
|
Out[4]=
|
The list operations are now carried out in a compiled way, and the result is an integer.
In[5]:=
|
Out[5]=
|
In[6]:=
|
|