logAverage
logAverage(
x):number
Defined in: src/log_average.js:12
The log average is an equivalent way of computing the geometric mean of an array suitable for large or small products.
It’s found by calculating the average logarithm of the elements and exponentiating.
Parameters
Section titled “Parameters”number[]
sample of one or more data points
Returns
Section titled “Returns”number
geometric mean
Throws
Section titled “Throws”if x is empty
Throws
Section titled “Throws”if x contains a negative number
