Skip to content

harmonicMean

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.

readonly number[]

The values to calculate the mean of, as an array or as separate arguments.

number

The harmonic mean of the given values.

https://en.wikipedia.org/wiki/Harmonic_mean

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.

…number[]

The values to calculate the mean of, as an array or as separate arguments.

number

The harmonic mean of the given values.

https://en.wikipedia.org/wiki/Harmonic_mean