stats_covariance

(PECL stats >= 1.0.0)

stats_covarianceComputes the covariance of two data sets

说明

stats_covariance ( array $a , array $b ) : float

Returns the covariance of a and b.

参数

a

The first array

b

The second array

返回值

Returns the covariance of a and b, or FALSE on failure.