Start » Filter Reference » Basic » Real » MinimumDouble_OfArray

MinimumDouble_OfArray


Module: FoundationLite

Returns the smallest value in an array of double numbers.

Name Type Description
Input value
inInitialValue Double* Optional initial input Double value
Input value
inArray DoubleArray Input array of Double values
Output value
outMinimum Double Output Double value of lowest value within inArray; returns inInitialValue if it is lower than any value within array or if array is empty
Output value
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

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 MinimumDouble_OfArray.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of MinimumDouble_OfArray filter group.