|
|
<< Acceptable | index | Borda >> DECIDE referenceDECIDE__Averageshort DECIDE__Average( * double * Result,
* const double * DataArray,
* const short * DataArrayLength,
* const short * Mode)
Return the average of the DataArrayLength input values * mode 1 : arithmetic (sum of all values / DataArrayLength)
* mode 2 : geometric (root DataArrayLength of the product of all values)
* mode 3 : quadratic (square root of the average of the square of all values)
return value : * 0 : completed sucessfully
* 1 : null pointer in first parameter
* 2 : null pointer in second parameter
* 3 : null pointer in third parameter
* 3 : null pointer in fourth parameter
* 101 : DataArrayLength < 1
* 102 : invalid Mode
<< Acceptable | index | Borda >>
|