Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Real » AverageReals

AverageReals


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 two numbers.

Syntax

void avl::AverageReals
(
	const float inA,
	const float inB,
	float& outAverage
)

Parameters

Name Type Default Description
Input value inA const float 0.0f First input Real value to be averaged
Input value inB const float 0.0f Second input Real value to be averaged
Output value outAverage float& Output average of input Real values