PHP - Manual: stats_stat_innerproduct
2024-12-25
(PECL stats >= 1.0.0)
stats_stat_innerproduct — Returns the inner product of two vectors
$arr1
, array $arr2
) : float
Returns the inner product of arr1
and arr2
.
arr1
The first array
arr2
The second array
Returns the inner product of arr1
and arr2
,
or FALSE
on failure.
官方地址:https://www.php.net/manual/en/function.stats-stat-innerproduct.php