PYTHON stats_rand_gen_exponential

is this article helpful?
|
Python replacement for PHP's stats_rand_gen_exponential [ edit | history ]
import random
random.expovariate(1/av)

PHP stats_rand_gen_exponential

PHP original manual for stats_rand_gen_exponential [ show | php.net ]

stats_rand_gen_exponential

(PECL stats >= 1.0.0)

stats_rand_gen_exponentialGenerates a single random deviate from an exponential distribution with mean "av"

Description

float stats_rand_gen_exponential ( float $av )
Warning

This function is currently not documented; only its argument list is available.

Parameters

av

Return Values