$LGamma: Difference between revisions

From m204wiki
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="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>$LGamma</var> function.</p>
methods. There is currently no direct OO equivalent for the <var>$LGamma</var> function.</p>
[[Category: Mathematical $functions]]
<p>
</p>


The <var>$LGamma</var> function returns the value:
The <var>$LGamma</var> function returns the value:
:hp0 font=chapn.
<p class="code">log<sub>e</sub> <sub>0</sub>&int;<sup>&infin;</sup> u<sup>x-1</sup> e<sup>-u</sup> du </p>
<ul>
<li>       &numsp.&'sub(&infin.)
<br>
log&'sub(e)  &'sub(0)&int.  u&'sup( x-1) e&'sup( - udu
</ul>
:ehp0.


==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.2913 * 10&'sup(73),
==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>


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