Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stats_rand_gen_chisquarestats_rand_gen_f>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_rand_gen_exponential

(PECL stats >= 1.0.0)

stats_rand_gen_exponential — Generates a random deviate from the exponential distribution

Description

function stats_rand_gen_exponential(float $av): float

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_chisquarestats_rand_gen_f>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026