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