Array Max & Min function
Object information | |
---|---|
Owning palette(s) | Array palette |
Type | Function |
Requires | Basic Development Environment |
Icon |
The Array Max & Min function returns the maximum and minimum values and indices in an array.
Usage
Connect an array of any size and dimensionality to the array input terminal in order to receive the maximum and minimum values and indices.
The output changes depending on the contained data type of the array. If two elements have the same value, the element with the lowest index is returned.
Description | |
---|---|
Numeric | Numeric elements are evaluated based on their value. |
String | Strings are evaluated based on their ASCII values. If two elements have the same ASCII character, the next character is evaluated (i.e. "AA" < "AB"). |
Cluster | Clusters are evaluated based on their first contained element (cluster element at index zero). |
Best practice
- Use the Search 1D Array function for Boolean arrays.