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