Statistic 函数
PHP Manual

stats_rand_gen_exponential

(PECL stats >= 1.0.0)

stats_rand_gen_exponentialGenerates a random deviate from the exponential distribution

说明

float stats_rand_gen_exponential ( float $av )

Returns a random deviate from the exponential distribution of which the scale is av.

参数

av

The scale parameter

返回值

A random deviate


Statistic 函数
PHP Manual