|
apply
|
The apply Function invokes a Function using the NumMatrix values as arguments.
The function is invoked and resulting value is returned. This is the same as
(function NumMatrix [0] NumMatrix [2], etc).
The apply function is useful when the arguments to a function are stored in a NumMatrix. It reduces the amount of code to use because the apply function eliminates the need to reference each NumMatrix element from the NumMatrix to pass as an argument to the function.
(apply function nummatrix) The resulting value after the function is evaluated.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types function any valid function name nummatrix A NumMatrix containing values and are valid arguments to the named function. NumMatrix
Returns:
Examples
Argument Types
Structure
Vector
Matrix
Symbol
Pair
List
FltVector
IntVector
ShortVector
NumVector
CpxVector
BitVector
How do I contact the AIS team?