Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Integer » MaximumInteger_OfArray_OrNil

MaximumInteger_OfArray_OrNil


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: STD.h
Namespace: avl
Module: FoundationLite

Returns the greatest value in an array of integer numbers; returns NIL if the array is empty.

Syntax

void avl::MaximumInteger_OfArray_OrNil
(
	const atl::Array<int>& inArray,
	atl::Conditional<int>& outMaximum,
	atl::Optional<atl::Conditional<int>&> outIndex = atl::NIL
)

Parameters

Name Type Default Description
Input value inArray const Array<int>&
Output value outMaximum Conditional<int>&
Output value outIndex Optional<Conditional<int>&> NIL

Optional Outputs

The computation of following outputs can be switched off by passing value atl::NIL to these parameters: outIndex.

Read more about Optional Outputs.