在线文档教程
PHP
数学 | Mathematics

stats_rand_gen_exponential

stats_rand_gen_exponential

(PECL stats >= 1.0.0)

stats_rand_gen_exponential — Generates a random deviate from the exponential distribution

Description

float stats_rand_gen_exponential ( float $av )

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

Parameters

av

The scale parameter

Return Values

A random deviate

← stats_rand_gen_chisquare

stats_rand_gen_f →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-rand-gen-exponential.php