Difference between revisions of "LGamma"
(hyperlink) |
m (hyperlinks) |
||
Line 3: | Line 3: | ||
== LGamma(X) == | == LGamma(X) == | ||
− | Returns the Log [[GammaFn|Gamma function]] of «X». Without numeric overflow, this function is exactly equivalent to <code>Ln(GammaFn(X))</code>. | + | Returns the Log [[GammaFn|Gamma function]] of «X». Without numeric overflow, this function is exactly equivalent to <code>[[Ln]]([[GammaFn]](X))</code>. |
Because the gamma function grows so rapidly, it is often much more convenient to use [[LGamma]]() to avoid numeric overflow. | Because the gamma function grows so rapidly, it is often much more convenient to use [[LGamma]]() to avoid numeric overflow. | ||
Latest revision as of 21:25, 5 February 2016
LGamma(X)
Returns the Log Gamma function of «X». Without numeric overflow, this function is exactly equivalent to Ln(GammaFn(X))
.
Because the gamma function grows so rapidly, it is often much more convenient to use LGamma() to avoid numeric overflow.
LogBetaFn(x)
To compute Ln(BetaFn(a,b))
, you should instead use
which is less susceptible to numeric underflow for really large values of a
and b
.
See Also
Comments
Enable comment auto-refresher