This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareCompile[, , ... , expr] creates a compiled function which evaluates expr assuming numerical values of the .

FilledSmallSquareCompile[, , ... , expr] assumes that is of a type which matches .

FilledSmallSquareCompile[, , , ... , expr] assumes that is a rank array of objects each of a type which matches .

FilledSmallSquareCompile[vars, expr, , , ... ] assumes that subexpressions in expr which match are of types which match .

FilledSmallSquare The types handled by Compile are:

FilledSmallSquare Nested lists given as input to a compiled function must be full arrays of numbers.

FilledSmallSquareCompile handles numerical functions, matrix operations, procedural programming constructs, list manipulation functions, functional programming constructs, etc.

FilledSmallSquareCompile generates a CompiledFunction object.

FilledSmallSquare Compiled code does not handle numerical precision and local variables in the same way as ordinary Mathematica code.

FilledSmallSquare If a compiled function cannot be evaluated with particular arguments using compiled code, ordinary Mathematica code is used instead.

FilledSmallSquare Ordinary Mathematica code can be called from within compiled code. Results obtained from the Mathematica code are assumed to be approximate real numbers, unless specified otherwise by the third argument of Compile.

FilledSmallSquare The number of times and the order in which objects are evaluated by Compile may be different from ordinary Mathematica code.

FilledSmallSquareCompile has attribute HoldAll, and does not by default do any evaluation before compilation.

FilledSmallSquare You can use Compile[ ... , Evaluate[expr]] to specify that expr should be evaluated symbolically before compilation.

FilledSmallSquare See The Mathematica Book: Section 1.11.8 and Section 2.5.14.

FilledSmallSquare See also: Dispatch, Function, InterpolatingFunction, CForm.

Further Examples