geometricMean
Call Signature
Section titled “Call Signature”geometricMean(
values):number
Defined in: average.ts:46
Calculates the geometric mean of the given values.
The geometric mean is the nth root of the product of the values, where n is the number of values.
Parameters
Section titled “Parameters”values
Section titled “values”readonly number[]
The values to calculate the mean of, as an array or as separate arguments.
Returns
Section titled “Returns”number
The geometric mean of the given values.
https://en.wikipedia.org/wiki/Geometric_mean
Call Signature
Section titled “Call Signature”geometricMean(…
values):number
Defined in: average.ts:47
Calculates the geometric mean of the given values.
The geometric mean is the nth root of the product of the values, where n is the number of values.
Parameters
Section titled “Parameters”values
Section titled “values”…number[]
The values to calculate the mean of, as an array or as separate arguments.
Returns
Section titled “Returns”number
The geometric mean of the given values.