Back to Adaptive Vision Library website
You are here: Start » Function Reference » Real » MaximumReal_OfArray
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Returns the greatest value in an array of real numbers.
Syntax
void avl::MaximumReal_OfArray ( const atl::Optional<float>& inInitialValue, const atl::Array<float>& inArray, float& outMaximum, atl::Optional<atl::Conditional<int>&> outIndex = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inInitialValue | const Optional<float>& | NIL | ||
inArray | const Array<float>& | |||
outMaximum | float& | |||
outIndex | Optional<Conditional<int>&> | NIL |
Description
Array version of MaximumReal.
Errors
Error type | Description |
---|---|
DomainError | Input array is empty and inInitialValue isn't set in MaximumReal_OfArray. |
See Also
- MaximumReal – Returns the higher of two numbers.