<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/ref.stats.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.stats-rand-gen-exponential.php', 1 => 'stats_rand_gen_exponential', 2 => 'Generates a random deviate from the exponential distribution', ), 'up' => array ( 0 => 'ref.stats.php', 1 => 'Statistic 函数', ), 'prev' => array ( 0 => 'function.stats-rand-gen-chisquare.php', 1 => 'stats_rand_gen_chisquare', ), 'next' => array ( 0 => 'function.stats-rand-gen-f.php', 1 => 'stats_rand_gen_f', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stats/functions/stats-rand-gen-exponential.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="function.stats-rand-gen-exponential" class="refentry"> <div class="refnamediv"> <h1 class="refname">stats_rand_gen_exponential</h1> <p class="verinfo">(PECL stats >= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_rand_gen_exponential</span> — <span class="dc-title">Generates a random deviate from the exponential distribution</span></p> </div> <div class="refsect1 description" id="refsect1-function.stats-rand-gen-exponential-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="methodname"><strong>stats_rand_gen_exponential</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$av</code></span>): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div> <p class="para rdfs-comment"> Returns a random deviate from the exponential distribution of which the scale is <code class="parameter">av</code>. </p> </div> <div class="refsect1 parameters" id="refsect1-function.stats-rand-gen-exponential-parameters"> <h3 class="title">参数</h3> <p class="para"> <dl> <dt><code class="parameter">av</code></dt> <dd> <p class="para"> The scale parameter </p> </dd> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.stats-rand-gen-exponential-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> A random deviate </p> </div> </div><?php manual_footer($setup); ?>