array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.stats-harmonic-mean.php', 1 => 'stats_harmonic_mean', 2 => 'Returns the harmonic mean of an array of values', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic 函数', ), 'prev' => array ( 0 => 'function.stats-dens-weibull.php', 1 => 'stats_dens_weibull', ), 'next' => array ( 0 => 'function.stats-kurtosis.php', 1 => 'stats_kurtosis', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-harmonic-mean.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL stats >= 1.0.0)
stats_harmonic_mean — Returns the harmonic mean of an array of values
aThe input array
Returns the harmonic mean of the values in a,
or false if a is empty or is not an array.