$Gamma: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (add <var>'s)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span class="pageSubtitle">Gamma function</span>
<span class="pageSubtitle">Gamma 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>$Gamma</var> function.</p>
methods. There is currently no direct OO equivalent for the <var>$Gamma</var> function.</p>
[[Category: Mathematical $functions]]
<p>
</p>


The <var>$Gamma</var> function returns the value:
The <var>$Gamma</var> function returns the value:
Line 12: Line 8:
<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 a
<ul>
0 is returned.
<li>If ''x'' is not within the range 0 < ''x'' < 57.5744,
an error message is printed and the request is cancelled. </li>
</ul>


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