$LGamma: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (add <var>'s)
 
(7 intermediate revisions by 6 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:
log<sub>e</sub> <sub>0</sub>&int;<sup>&infin;</sup> u<sup>x-1</sup> e<sup>-u</sup> du
<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>


==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.