« stats_stat_percentile
stats_variance »

stats_stat_powersum

(PECL stats >= 1.0.0)

stats_stat_powersum — Returns the power sum of a vector

説明

function stats_stat_powersum(array $arr, float $power): float

Returns the sum of the power-th power of a vector represented as an array arr.

パラメータ

arr

The input array

power

The power

戻り値

Returns the power sum of the input array.

関連キーワード:
power   stats   vector   stat   powersum   float   input   percentile   variance   Statistic   represented
関連する関数・ページ:
function.stats-stat-percentile   function.stats-variance   function.list   function.gmp-perfect-power   function.stats-stat-innerproduct   function.stats-stat-independent-t