$LGamma: Difference between revisions
Jump to navigation
Jump to search
(Created page with " <span class="pageSubtitle">LGamma function</span> <p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currently no direc...") |
m (add <var>'s) |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<span class="pageSubtitle">LGamma function</span> | <span class="pageSubtitle">LGamma 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>$LGamma</var> function.</p> | ||
methods. There is currently no direct OO equivalent for the <var>$LGamma</var> function. | |||
</p> | |||
The <var>$LGamma</var> function returns the value: | The <var>$LGamma</var> function returns the value: | ||
<p class="code">log<sub>e</sub> <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"> = $LGamma(</span><span class="term">x</span><span class="literal">)</span> </p> | <p class="syntax"><span class="term">%num</span><span class="literal"> = $LGamma(</span><span class="term">x</span><span class="literal">)</span> </p> | ||
If ''x'' is not in the range 0 < ''x'' < 4. | ==Usage notes== | ||
<ul> | |||
<li>If ''x'' is not in the range 0 < ''x'' < 4.2938 * 10<sup>73</sup>, | |||
an error message is printed and a 0 is returned. | an error message is printed and a 0 is returned. | ||
</ul> | |||
[[Category: Mathematical $functions]] |
Latest revision as of 18:38, 20 December 2017
LGamma function
Note: Many $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $LGamma function.
The $LGamma function returns the value:
loge 0∫∞ ux-1 e-u du
Syntax
%num = $LGamma(x)
Usage notes
- If x is not in the range 0 < x < 4.2938 * 1073, an error message is printed and a 0 is returned.