Back to Adaptive Vision Library website

You are here: Start » Function Reference » Integer » MaximumLongIntegers_OfArray

MaximumLongIntegers_OfArray


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

Returns the greatest value in an array of Long Integer numbers.

Syntax

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

Parameters

Name Type Default Description
inInitialValue const Optional<int64>& NIL
inArray const Array<int64>&
outMaximum int64&
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.

Description

Array version of MaximumLongIntegers.

Errors

List of possible exceptions:

Error type Description
DomainError Input array is empty and inInitialValue isn't set in MaximumLongIntegers_OfArray.

See Also