stats_harmonic_mean

(PECL stats >= 1.0.0)

stats_harmonic_meanReturns the harmonic mean of an array of values

Descrição

stats_harmonic_mean(array$a): number

Returns the harmonic mean of the values in a.

Parâmetros

a

The input array

Valor Retornado

Returns the harmonic mean of the values in a, or false if a is empty or is not an array.

To Top