| Package | Description |
|---|---|
| ptolemy.data.expr |
The Ptolemy II Expression Language.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayToken |
UtilityFunctions.filter(FunctionToken predicate,
ArrayToken array)
Extract a sub-array consisting of all of the elements of an
array for which the given predicate function returns true.
|
static ArrayToken |
UtilityFunctions.filter(FunctionToken predicate,
ArrayToken array,
IntToken sizeLimit)
Extract a sub-array consisting of all of the elements of an
array for which the given predicate function returns true.
|
static ArrayToken |
UtilityFunctions.iterate(FunctionToken function,
int length,
Token initial)
Iterate the specified function to produce an array of the specified
length.
|
static ArrayToken |
UtilityFunctions.map(FunctionToken function,
ArrayToken array)
Apply the specified function to the specified array and return
an array with the results.
|