stats_stat_innerproduct

(PECL stats >= 1.0.0)

stats_stat_innerproductReturns the inner product of two vectors

说明

stats_stat_innerproduct ( array $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.