Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » 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.

Header: STD.h
Namespace: avl
Module: FoundationLite

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
Input will be modified ioState AverageIntegers_OfLoopState& Object used to maintain state of the function.
Input value inValue const int
Output value 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