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 uniform float between low (exclusive) and high (exclusive)</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.stats-rand-gen-funiform" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">stats_rand_gen_funiform</h1>
|
|
<p class="verinfo">(PECL stats >= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_rand_gen_funiform</span> — <span class="dc-title">Generates uniform float between low (exclusive) and high (exclusive)</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.stats-rand-gen-funiform-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>stats_rand_gen_funiform</strong></span>
|
|
( <span class="methodparam"><span class="type">float</span> <code class="parameter">$low</code></span>
|
|
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$high</code></span>
|
|
) : <span class="type">float</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Returns a random deviate from the uniform distribution from
|
|
<code class="parameter">low</code> to <code class="parameter">high</code>.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.stats-rand-gen-funiform-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">low</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The lower bound (inclusive)
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">high</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The upper bound (exclusive)
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.stats-rand-gen-funiform-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
A random deviate
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div></div></div></body></html> |