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

Documentation / Mathematica / Built-in Functions / Programming / Functional Programming /


FilledSmallSquare CompiledFunction[args, argregs, nregs, instr, func] represents compiled code for evaluating a compiled function.

FilledSmallSquare args is a list giving a pattern for the type of each argument to the function. The types are specified as in Compile.

FilledSmallSquare argregs is a list of the registers into which actual argument values should be placed to evaluate the compiled code.

FilledSmallSquare nregs is a list of the numbers of logical, integer, real, complex and tensor registers required in evaluating the compiled code.

FilledSmallSquare instr is a list of actual compiled code instructions.

FilledSmallSquare func is a Mathematica pure function to be used if no result can be obtained from the compiled code for any reason.

FilledSmallSquare Compile generates a CompiledFunction object which can be executed by applying it to appropriate arguments.

FilledSmallSquare CompiledFunction objects that are constructed explicitly can also be executed. Basic consistency checks are done when such objects are first evaluated by Mathematica.

FilledSmallSquare The code in a CompiledFunction object is based on an idealized register machine.

FilledSmallSquare See Section 2.2.8 and Section 2.6.16.

FilledSmallSquare See also: InterpolatingFunction.

FilledSmallSquare New in Version 2; modified in 4.0.

Further Examples