Back to FabImage Library Lite website
You are here: Start » Basic » Statistics » Average

Average
Header: | STD.h |
---|---|
Namespace: | fil |
Computes the average of an array of real numbers. The array must be not empty.
Syntax
void fil::Average ( const ftl::Array<float>& inValues, float& outAverage )
Parameters
Hints
- If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array on input in Average. |