Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Integer » AverageIntegers_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: | fil |
Module: | FoundationLite |
Returns the average value of integers; returns NIL if the array is empty.
Syntax
void fil::AverageIntegers_OfArray_OrNil ( const ftl::Array<int>& inArray, ftl::Conditional<int>& outAverage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArray | const Array<int>& | ||
![]() |
outAverage | Conditional<int>& |