Back to Aurora Vision Library website

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

Header: STD.h
Namespace: avl
Module: FoundationLite

Returns the average value of reals.

Syntax

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

Parameters

Name Type Default Description
Input value inArray const Array<float>& Input array of Real values
Output value outAverage float& Output average of Real values in input array

Description

Array version of AverageReals.

Errors

List of possible exceptions:

Error type Description
DomainError Input array is empty in AverageReals_OfArray.

See Also