$ErfC: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (misc formatting)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="pageSubtitle">Error function complement</span>
<span class="pageSubtitle">Error function complement</span>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented
<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>
methods. There is currently no direct OO equivalent for the $ErfC function.</p>


The <var>$ErfC</var> function returns 1 - the <var>[[$Erf]]</var> value, that is:
The <var>$ErfC</var> function returns <code>1 - the <var>[[$Erf]]</var> value</code>, that is:
<p class="code">1 &minus; 2/&radic;&pi;  <sub>0</sub>&int;<sup>x</sup> e<sup>-z<sup>2</sup></sup> dz  
<p class="code">1 &minus; 2/&radic;&pi;  <sub>0</sub>&int;<sup>x</sup> e<sup>-z<sup>2</sup></sup> dz  
</p>
</p>
Line 10: Line 9:
<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]]
[[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)