Back to Adaptive Vision Library website

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

AverageDoubles_OfArray_OrNil


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 doubles; returns NIL if the array is empty.

Syntax

void avl::AverageDoubles_OfArray_OrNil
(
	const atl::Array<double>& inArray,
	atl::Conditional<double>& outAverage
)

Parameters

Name Type Default Description
inArray const Array<double>&
outAverage Conditional<double>&