Forum und email

stats_rand_gen_gamma

(PECL stats:1.0.0-1.0.2)

stats_rand_gen_gamma — Génère un écart aléatoire d'une distribution gamma

Description

float stats_rand_gen_gamma ( float $a , float $r )

Génère une déviation aléatoire d'une distribution gamma dont la densité est (A**R)/Gamma(R) * X**(R-1) * Exp(-A*X).

Liste de paramètres

a

Paramètre d'emplacement de la distribution Gamma (a > 0).

r

Paramètre de forme de la distribution Gamma (r > 0).