Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Real » AverageReals_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: | fil |
Module: | FoundationLite |
Returns the average value of reals.
Syntax
void fil::AverageReals_OfArray ( const ftl::Array<float>& inArray, float& outAverage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArray | const Array<float>& | Input array of Real values | |
![]() |
outAverage | float& | Output average of Real values in input array |
Description
Array version of AverageReals.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input array is empty in AverageReals_OfArray. |
See Also
- AverageReals – Returns the average of two numbers.