public static double logBeta(double alpha, double beta) {
    return GammaDistribution.logGamma(alpha) + GammaDistribution.logGamma(beta) - GammaDistribution.logGamma(alpha + beta);
  }
public static double logBeta ( double alpha , double beta ) { return GammaDistribution . logGamma ( alpha ) + GammaDistribution . logGamma ( beta ) - GammaDistribution . logGamma ( alpha + beta ) ; }
Compute log beta(a,b)

@param alpha Shape parameter a
@param beta Shape parameter b
@return Logarithm of result