stats_covariance

(PECL stats >= 1.0.0)

stats_covarianceComputes the covariance of two data sets

説明

function 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.