Arma 3 Scripting

BIS_fnc_geometricMean

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

Description

Returns the geometric mean of an array of numbers.

Syntax

array call BIS_fnc_geometricMean

Parameters:

Returns: Number - geometric mean

Examples

Example 1

[0,1,3] call BIS_fnc_geometricMean;//Returns 1.73205

See also

BIS_fnc_randomInt · BIS_fnc_arithmeticMean · BIS_fnc_nearestNum · BIS_fnc_sortNum · BIS_fnc_roundNum