stats_harmonic_mean

Returns the harmonic mean of an array of values

Description

number stats_harmonic_mean(array $a)

Returns the harmonic mean of the values in a.

Parameters

a

The input array

Return Values

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