$Erf: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision: from DME w/ love)
(Automatically generated page update)
 
(7 intermediate revisions by 5 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 <var>$Erf</var> function.</p>
methods. There is currently no direct OO equivalent for the $Erf function.</p>
[[Category: Mathematical $functions]]
<p>
</p>


The <var>$Erf</var> function returns the value:
The <var>$Erf</var> function returns the value:
:hp0 font=chapn.
 
<ul>
<p class="code">2/&radic;&pi; <sub>0</sub>&int;<sup>x</sup> e<sup>-z<sup>2</sup></sup> dz
<li>          &thinsp.&'sub(x)  &thinsp.&'sub(2)
 
<br>
</p>
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"> = $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>


{{Template:Math $functions note}}
[[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)