Back to Aurora Vision Library Lite website
You are here: Start » All Functions » Real » AverageReals_OfArray_OrNil
AverageReals_OfArray_OrNil
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 |
Returns the average value of reals; returns NIL if the array is empty.
Syntax
void avl::AverageReals_OfArray_OrNil ( const atl::Array<float>& inArray, atl::Conditional<float>& outAverage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inArray | const Array<float>& | Input array of Real values | ||
outAverage | Conditional<float>& | Output average of Real values in input array or Nil |