Compute the natural logarithm of the Beta function for real inputs a and b.
betaln
is defined as
betaln (a, b) = log (beta (a, b))
and is calculated in a way to reduce the occurrence of underflow.
The Beta function can grow quite large and it is often more useful to work with the logarithm of the output rather than the function directly.
See also: beta, betainc, betaincinv, gammaln.
Package: octave