mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-10-11 08:53:20 +08:00
v0.0.2
This commit is contained in:
@@ -1,81 +1,81 @@
|
||||
<!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 binomial coefficient</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.gmp-binomial" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">gmp_binomial</h1>
|
||||
<p class="verinfo">(PHP 7 >= 7.3.0)</p><p class="refpurpose"><span class="refname">gmp_binomial</span> — <span class="dc-title">Calculates binomial coefficient</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.gmp-binomial-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>gmp_binomial</strong></span>
|
||||
( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$n</code></span>
|
||||
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$k</code></span>
|
||||
) : <span class="type"><a href="class.gmp.html" class="type GMP">GMP</a></span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Calculates the binomial coefficient C(n, k).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.gmp-binomial-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">n</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">可以是一个 GMP
|
||||
数据 <span class="type"><span class="type resouce">resouce</span></span>,或一个可以转换为数值的字符串。</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">k</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.gmp-binomial-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns the binomial coefficient C(n, k), 或者在失败时返回 <strong><code>FALSE</code></strong>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="refsect1 errors" id="refsect1-function.gmp-binomial-errors">
|
||||
<h3 class="title">错误/异常</h3>
|
||||
<p class="para">
|
||||
Issues E_WARNING if <code class="parameter">k</code> is negative.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<!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 binomial coefficient</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.gmp-binomial" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">gmp_binomial</h1>
|
||||
<p class="verinfo">(PHP 7 >= 7.3.0)</p><p class="refpurpose"><span class="refname">gmp_binomial</span> — <span class="dc-title">Calculates binomial coefficient</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.gmp-binomial-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>gmp_binomial</strong></span>
|
||||
( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$n</code></span>
|
||||
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$k</code></span>
|
||||
) : <span class="type"><a href="class.gmp.html" class="type GMP">GMP</a></span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Calculates the binomial coefficient C(n, k).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.gmp-binomial-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">n</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">可以是一个 GMP
|
||||
数据 <span class="type"><span class="type resouce">resouce</span></span>,或一个可以转换为数值的字符串。</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">k</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.gmp-binomial-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns the binomial coefficient C(n, k), 或者在失败时返回 <strong><code>FALSE</code></strong>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="refsect1 errors" id="refsect1-function.gmp-binomial-errors">
|
||||
<h3 class="title">错误/异常</h3>
|
||||
<p class="para">
|
||||
Issues E_WARNING if <code class="parameter">k</code> is negative.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
Reference in New Issue
Block a user