|
|
|||
|
|
| Compile[{x1, x2, ...}, expr] creates a compiled function which evaluates expr assuming numerical values of the xi. |
| Compile[{{x1, t1}, ...}, expr] assumes that xi is of a type which matches ti. |
| Compile[{{x1, t1, n1}, ...}, expr] assumes that xi is a rank ni array of objects each of a type which matches ti. |
| Compile[vars, expr, {{p1, pt1}, ...}] assumes that subexpressions in expr which match pi are of types which match pti. |
| _Integer | machine-size integer | |
| _Real | machine-precision approximate real number (default) | |
| _Complex | machine-precision approximate complex number | |
| True | False | logical variable |
The CompiledFunction evaluates with machine numbers:
|