mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
167 lines
4.0 KiB
HTML
167 lines
4.0 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>Calculates any one parameter of the uniform distribution given values for the others</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.stats-cdf-uniform" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">stats_cdf_uniform</h1>
|
|
<p class="verinfo">(PECL stats >= 1.0.0)</p><p class="refpurpose"><span class="refname">stats_cdf_uniform</span> — <span class="dc-title">Calculates any one parameter of the uniform distribution given values for the others</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.stats-cdf-uniform-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>stats_cdf_uniform</strong></span>
|
|
( <span class="methodparam"><span class="type">float</span> <code class="parameter">$par1</code></span>
|
|
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$par2</code></span>
|
|
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$par3</code></span>
|
|
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$which</code></span>
|
|
) : <span class="type">float</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Returns the cumulative distribution function, its inverse, or one of its parameters,
|
|
of the uniform distribution. The kind of the return value and parameters
|
|
(<code class="parameter">par1</code>, <code class="parameter">par2</code>, and <code class="parameter">par3</code>)
|
|
are determined by <code class="parameter">which</code>.
|
|
</p>
|
|
<p class="para">
|
|
The following table lists the return value and parameters by <code class="parameter">which</code>.
|
|
CDF, x, a, and b denotes cumurative distribution function, the value of the random variable,
|
|
the lower bound and the higher bound of the uniform distribution, respectively.
|
|
<table class="doctable table">
|
|
<caption><strong>Return value and parameters</strong></caption>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th><code class="parameter">which</code></th>
|
|
<th>Return value</th>
|
|
<th><code class="parameter">par1</code></th>
|
|
<th><code class="parameter">par2</code></th>
|
|
<th><code class="parameter">par3</code></th>
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody class="tbody">
|
|
<tr>
|
|
<td>1</td>
|
|
<td>CDF</td>
|
|
<td>x</td>
|
|
<td>a</td>
|
|
<td>b</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>x</td>
|
|
<td>CDF</td>
|
|
<td>a</td>
|
|
<td>b</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>a</td>
|
|
<td>x</td>
|
|
<td>CDF</td>
|
|
<td>b</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>b</td>
|
|
<td>x</td>
|
|
<td>CDF</td>
|
|
<td>a</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.stats-cdf-uniform-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">par1</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The first parameter
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">par2</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The second parameter
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">par3</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The third parameter
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">which</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The flag to determine what to be calculated
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.stats-cdf-uniform-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns CDF, x, a, or b, determined by <code class="parameter">which</code>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div></div></div></body></html> |