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 ibm db2 函数 returns an array indexed by column position representing a row in a result setphp ibm db2 函数 returns an array indexed by column name representing a row in a result setphp ibm db2 函数 returns an array indexed by both column name and position representing a row in a result setphp gnupg 函数 returns an array with information about all keys that matches the given patternphp postgresql 函数 returns an array with client protocol and server version when available php sqlite 函数 execute a query against a given database and returns an arrayphp sqlsrv 函数 returns a row as an arrayphp statistic 函数 returns the absolute deviation of an array of valuesphp statistic 函数 calculates any one parameter of the f distribution given values for the othersphp statistic 函数 calculates any one parameter of the gamma distribution given values for the othersphp statistic 函数 calculates any one parameter of the laplace distribution given values for the othersphp statistic 函数 calculates any one parameter of the logistic distribution given values for the othersphp statistic 函数 calculates any one parameter of the negative binomial distribution given values for the othersphp statistic 函数 calculates any one parameter of the non central chi square distribution given values for the othersphp statistic 函数 returns the harmonic mean of an array of valuesphp statistic 函数 get the seed values of the random number generatorphp statistic 函数 set seed values to the random generatorphp statistic 函数 computes the skewness of the data in the arrayphp com 函数 adds two variant values together and returns the resultphp splenum returns all consts possible values as an array
关注编程学问公众号