Back to Adaptive Vision Library website
You are here: Start » Function Reference » Integer » MaximumInteger_OfArray
MaximumInteger_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 integer numbers.
Syntax
void avl::MaximumInteger_OfArray ( const atl::Optional<int>& inInitialValue, const atl::Array<int>& inArray, int& outMaximum, atl::Optional<atl::Conditional<int>&> outIndex = atl::NIL )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inInitialValue | const Optional<int>& | NIL | |
![]() |
inArray | const Array<int>& | ||
![]() |
outMaximum | int& | ||
![]() |
outIndex | Optional<Conditional<int>&> | NIL |
Description
Array version of MaximumInteger.
Hints
- This is a primitive mathematical filter. It is recommended to use Formula Blocks instead.
Errors
| Error type | Description |
|---|---|
| DomainError | Input array is empty and inInitialValue isn't set in MaximumInteger_OfArray. |


