Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Statistics »
Average
Computes the average of an array of real numbers. The array must be not empty.
Syntax
void avl::Average
(
const atl::Array<float>& inValues,
float& outAverage
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inValues |
const Array<float>& |
|
|
 |
outAverage |
float& |
|
|
Hints
- If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.
Errors
| Error type |
Description |
| DomainError |
Empty array on input in Average. |