FUNCTION
logBeta
Returns the natural logarithm of the complete beta function.
Interface
#include <codecogs/maths/special/gamma/logbeta.h>
using namespace Maths::Special::Gamma;
Returns the natural logarithm of the complete beta function, which is fundamentally just
(1)
However when either a or b are large (typically above 8) then there are more appropriate methods of computing an accurate value efficiently. An illustration of this curve is given below: \graph a=0:20 b=1:5:5 .size=medium
References
DiDinato, A. R. and Morris, A. H. Algorithm 708: Significant Digit Computation of the Incomplete Beta Function Ratios. ACM Trans. Math. Softw. 18 (1993), 360-373.
Parameters
a
first symmetric argument to the complete beta function, a>0.
b
second symmetric argument to the complete beta function, b>0.
Interactive Calculator
a
b
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.