stats_covariance
PHP Manual
PHP Manual»Statistic Функції»stats_covariance

stats_covariance

(PECL stats >= 1.0.0)

stats_covariance — Computes 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.

To Top