Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Integer » AverageIntegers_OfLoop
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 of the numbers appearing in consecutive iterations.
Syntax
void fil::AverageIntegers_OfLoop ( AverageIntegers_OfLoopState& ioState, const int inValue, int& outAverage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
ioState | AverageIntegers_OfLoopState& | Object used to maintain state of the function. | |
![]() |
inValue | const int | ||
![]() |
outAverage | int& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inValue and outAverage
Read more about In-place Computation.
Description
Loop version of AverageIntegers.
See Also
- AverageIntegers – Returns the average of two numbers.