Back to Adaptive Vision Library website

You are here: Start » Function Reference » Real » AverageReals_OfLoop

AverageReals_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 numbers appearing in consecutive iterations.

Syntax

void avl::AverageReals_OfLoop
(
	AverageReals_OfLoopState& ioState,
	const float& inValue,
	float& outAverage
)

Parameters

Name Type Default Description
ioState AverageReals_OfLoopState& Object used to maintain state of the function.
inValue const float&
outAverage float&

Description

Loop version of AverageReals.

Hints

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

See Also