在线文档教程
PHP
数学 | Mathematics

stats_covariance

stats_covariance

(PECL stats >= 1.0.0)

stats_covariance — Computes the covariance of two data sets

Description

float stats_covariance ( array $a , array $b )

Returns the covariance of a and b.

Parameters

a

The first array

b

The second array

Return Values

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

← stats_cdf_weibull

stats_dens_beta →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-covariance.php