stats_harmonic_mean

Returns the harmonic mean of an array of values

説明

number stats_harmonic_mean(array $a)

Returns the harmonic mean of the values in a.

パラメータ

a

The input array

戻り値

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