Statistic 函数
PHP Manual

stats_absolute_deviation

(PECL stats >= 1.0.0)

stats_absolute_deviationReturns the absolute deviation of an array of values

说明

float stats_absolute_deviation ( array $a )

Returns the absolute deviation of the values in a.

参数

a

The input array

返回值

Returns the absolute deviation of the values in a, or FALSE if a is empty or is not an array.


Statistic 函数
PHP Manual