$Erf: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
(Automatically generated page update)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span class="pageSubtitle">Error function</span>
<span class="pageSubtitle">Error function</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 $Erf function.</p>
methods. There is currently no direct OO equivalent for the $Erf function.</p>


Line 6: Line 6:


<p class="code">2/&radic;&pi;  <sub>0</sub>&int;<sup>x</sup> e<sup>-z<sup>2</sup></sup> dz
<p class="code">2/&radic;&pi;  <sub>0</sub>&int;<sup>x</sup> e<sup>-z<sup>2</sup></sup> dz
</p>
</p>


==Syntax==
==Syntax==
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Erf(</span><span class="term">x</span><span class="literal">)</span>  </p>
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Erf(</span><span class="term">x</span><span class="literal">)</span>  </p>
==Usage notes==
<ul>
<li>{{Template:Math $functions note}}
</ul>


[[Category: Mathematical $functions]]
[[Category: Mathematical $functions]]

Latest revision as of 00:03, 21 September 2018

Error function

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

The $Erf function returns the value:

2/√π 0x e-z2 dz

Syntax

%num = $Erf(x)