Forum und email

stats_rand_gen_ibinomial

(PECL stats:1.0.0-1.0.2)

stats_rand_gen_ibinomial — Generates a single random deviate from a binomial distribution whose number of trials is "n" (n >= 0) and whose probability of an event in each trial is "pp" ([0;1]). Method : algorithm BTPE

Description

int stats_rand_gen_ibinomial ( int $n , float $pp )
Warning

Tämä on toistaiseksi dokumentoimaton funktio; ainoastaan parametrilistaus on saatavilla.

Parameters

n

pp

Return values