Start » Filter Reference » Basic » Real » MinimumReal_OfArray
Module: | FoundationLite |
---|
Returns the smallest value in an array of real numbers.
Name | Type | Description | |
---|---|---|---|
inInitialValue | Real* | Optional initial input Real value | |
inArray | RealArray | Input array of Real values | |
outMinimum | Real | Output Real value of lowest value within inArray; returns inInitialValue if it is lower than any value within array or if array is empty | |
outIndex | Integer? | Conditional output Integer index value of lowest value within inArray; returns Nil if inInitialValue is lower than any value within array or if array is empty |
Description
Array version of MinimumReal.
Hints
- This is a primitive mathematical filter. It is recommended to use Formula Blocks instead.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input array is empty and inInitialValue isn't set in MinimumReal_OfArray. |
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of MinimumReal_OfArray filter group.
See Also
- MinimumReal – Returns the lower of two numbers.