Compute the Beta function for real inputs a and b.
The Beta function definition is
beta (a, b) = gamma (a) * gamma (b) / gamma (a + b).
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 ‘betaln’, for computing the logarithm of the Beta function in an efficient manner.
See also: betaln, betainc, betaincinv.
Package: octave