stats_harmonic_mean

(PECL stats >= 1.0.0)

stats_harmonic_meanReturns the harmonic mean of an array of values

说明

stats_harmonic_mean ( array $a ) : number

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.

相关文章
php cubrid mysql 兼容性函数 return a numerical array with the values of the current rowphp date/time 函数 returns an array with information about sunset/sunrise and twilight begin/endphp mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp maxdb 函数 returns an array of resources representing the fields in a result setphp mssql 函数 returns an associative array of the current row in the resultphp oci8 函数 returns the next row from a query as an associative or numeric arrayphp oci8 函数 returns the next row from a query as an associative arrayphp oci8 函数 returns the next row from a query as a numeric arrayphp statistic 函数 returns the absolute deviation of an array of valuesphp statistic 函数 calculates any one parameter of the beta distribution given values for the othersphp statistic 函数 calculates any one parameter of the binomial distribution given values for the othersphp statistic 函数 calculates any one parameter of the cauchy distribution given values for the othersphp statistic 函数 calculates any one parameter of the chi square distribution given values for the othersphp statistic 函数 calculates any one parameter of the uniform distribution given values for the othersphp statistic 函数 calculates any one parameter of the weibull distribution given values for the othersphp statistic 函数 returns the harmonic mean of an array of valuesphp statistic 函数 returns the inner product of two vectorsphp statistic 函数 returns the t value of the dependent t test for paired samplesphp statistic 函数 returns the percentile valuephp statistic 函数 returns the power sum of a vector
关注编程学问公众号