harmonicMean
Call Signature
Section titled “Call Signature”harmonicMean(
values):number
Defined in: average.ts:80
Calculates the harmonic mean of the given values.
The harmonic mean is the number of values divided by the sum of the reciprocals of the 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 harmonic mean of the given values.
https://en.wikipedia.org/wiki/Harmonic_mean
Call Signature
Section titled “Call Signature”harmonicMean(…
values):number
Defined in: average.ts:81
Calculates the harmonic mean of the given values.
The harmonic mean is the number of values divided by the sum of the reciprocals of the 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 harmonic mean of the given values.