$Gamma: Difference between revisions
Jump to navigation
Jump to search
m (1 revision: from DME w/ love) |
m (add <var>'s) |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<span class="pageSubtitle">Gamma function</span> | <span class="pageSubtitle">Gamma function</span> | ||
<p class=" | <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>$Gamma</var> function.</p> | ||
methods. There is currently no direct OO equivalent for the <var>$Gamma</var> function. | |||
</p> | |||
The <var>$Gamma</var> function returns the value: | The <var>$Gamma</var> function returns the value: | ||
<p class="code"><sub>0</sub>∫<sup>∞</sup> u<sup>x-1</sup> e<sup>-u</sup> du </p> | |||
< | |||
< | |||
< | |||
</ | |||
==Syntax== | ==Syntax== | ||
<p class="syntax"><span class="term">%num</span><span class="literal"> = $Gamma(</span><span class="term">x</span><span class="literal">)</span> </p> | <p class="syntax"><span class="term">%num</span><span class="literal"> = $Gamma(</span><span class="term">x</span><span class="literal">)</span> </p> | ||
If ''x'' is not within the range 0 < ''x'' < 57.5744, | ==Usage notes== | ||
an error message is printed and | <ul> | ||
<li>If ''x'' is not within the range 0 < ''x'' < 57.5744, | |||
an error message is printed and the request is cancelled. </li> | |||
</ul> | |||
[[Category: Mathematical $functions]] |
Latest revision as of 18:37, 20 December 2017
Gamma function
Note: Many $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $Gamma function.
The $Gamma function returns the value:
0∫∞ ux-1 e-u du
Syntax
%num = $Gamma(x)
Usage notes
- If x is not within the range 0 < x < 57.5744, an error message is printed and the request is cancelled.