$ErfC: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with " <span class="pageSubtitle">Error function complement</span> <p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currentl...")
 
m (misc formatting)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span class="pageSubtitle">Error function complement</span>
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $ErfC function.</p>


<span class="pageSubtitle">Error function complement</span>
The <var>$ErfC</var> function returns <code>1 - the <var>[[$Erf]]</var> value</code>, that is:
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented
<p class="code">1 &minus; 2/&radic;&pi;  <sub>0</sub>&int;<sup>x</sup> e<sup>-z<sup>2</sup></sup> dz
methods. There is currently no direct OO equivalent for the <var>$ErfC</var> function.</p>
[[Category: Mathematical $functions]]
<p>
</p>
</p>
The <var>$ErfC</var> function returns 1 - the <var>[[$Erf]]</var> value, that is:
:hp0 font=chapn.
<ul>
<li>                &numsp.&'sub(x)  &thinsp.&'sub(2)
<br>
1 &minus. 2&sol.&radic.&pi.  &'sub(0)&int. &thinsp.e&'sup(-z) &thinsp.dz
</ul>
:ehp0.


==Syntax==
==Syntax==
<p class="syntax"><span class="term">%num</span><span class="literal"> = $ErfC(</span><span class="term">x</span><span class="literal">)</span>  </p>
<p class="syntax"><span class="term">%num</span><span class="literal"> = $ErfC(</span><span class="term">x</span><span class="literal">)</span>  </p>


{{Template:Math $functions note}}
 
[[Category: Mathematical $functions]]

Latest revision as of 22:39, 11 July 2017

Error function complement

Note: Many $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $ErfC function.

The $ErfC function returns 1 - the $Erf value, that is:

1 − 2/√π 0x e-z2 dz

Syntax

%num = $ErfC(x)