Back to Adaptive Vision Library website

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

AverageReals_OfArray


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

Returns the average value of reals.

Syntax

void avl::AverageReals_OfArray
(
	const atl::Array<float>& inArray,
	float& outAverage
)

Parameters

Name Type Default Description
inArray const Array<float>&
outAverage float&

Description

Array version of AverageReals.

Hints

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

Errors

Error type Description
DomainError Input array is empty in AverageReals_OfArray.

See Also