mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
83 lines
2.2 KiB
HTML
83 lines
2.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Generates a single random deviate from a normal distribution</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.stats-rand-gen-normal" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">stats_rand_gen_normal</h1>
|
|
<p class="verinfo">(PECL stats >= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_rand_gen_normal</span> — <span class="dc-title">Generates a single random deviate from a normal distribution</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.stats-rand-gen-normal-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>stats_rand_gen_normal</strong></span>
|
|
( <span class="methodparam"><span class="type">float</span> <code class="parameter">$av</code></span>
|
|
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$sd</code></span>
|
|
) : <span class="type">float</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Returns a random deviate from the normal distribution with mean, <code class="parameter">av</code>, and standard deviation,
|
|
<code class="parameter">sd</code>.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.stats-rand-gen-normal-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">av</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The mean of the normal distribution
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">sd</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The standard deviation of the normal distribution
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.stats-rand-gen-normal-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
A random deviate
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div></div></div></body></html> |