The function LnBeta returns the natural logarithm of the Beta function B(z,w). The parameters z and w must not be negative. The Beta function is defined as follows: