Back to Adaptive Vision Library website

You are here: Start » Function Reference » Integer » AverageIntegers_OfLoop

AverageIntegers_OfLoop


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Returns the average of the numbers appearing in consecutive iterations.

Syntax

void avl::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&

Description

Loop version of AverageIntegers.

Hints

  • This is a primitive mathematical filter. It is recommended to use Formula Blocks instead.

See Also