array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.stats-covariance.php', 1 => 'stats_covariance', 2 => 'Computes the covariance of two data sets', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic Функції', ), 'prev' => array ( 0 => 'function.stats-cdf-weibull.php', 1 => 'stats_cdf_weibull', ), 'next' => array ( 0 => 'function.stats-dens-beta.php', 1 => 'stats_dens_beta', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-covariance.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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.