array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.stats-rand-gen-noncentral-chisquare.php', 1 => 'stats_rand_gen_noncentral_chisquare', 2 => 'Generates a random deviate from the non-central chi-square distribution', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic 函数', ), 'prev' => array ( 0 => 'function.stats-rand-gen-iuniform.php', 1 => 'stats_rand_gen_iuniform', ), 'next' => array ( 0 => 'function.stats-rand-gen-noncentral-f.php', 1 => 'stats_rand_gen_noncentral_f', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-rand-gen-noncentral-chisquare.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

stats_rand_gen_noncentral_chisquare

(PECL stats >= 1.0.0)

stats_rand_gen_noncentral_chisquareGenerates a random deviate from the non-central chi-square distribution

说明

stats_rand_gen_noncentral_chisquare(float $df, float $xnonc): float

Returns a random deviate from the non-central chi-square distribution with degrees of freedom, df, and non-centrality parameter, xnonc.

参数

df

The degrees of freedom

xnonc

The non-centrality parameter

返回值

A random deviate