Home
last modified time | relevance | path

Searched refs:logGamma (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/special/
DBeta.java196 ret = Gamma.logGamma(a) + Gamma.logGamma(b) - in logBeta()
197 Gamma.logGamma(a + b); in logBeta()
DGamma.java95 public static double logGamma(double x) { in logGamma() method in Gamma
192 ret = FastMath.exp(-x + (a * FastMath.log(x)) - logGamma(a)) * sum; in regularizedGammaP()
267 ret = FastMath.exp(-x + (a * FastMath.log(x)) - logGamma(a)) * ret; in regularizedGammaQ()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DBetaDistributionImpl.java121 z = Gamma.logGamma(alpha) + Gamma.logGamma(beta) - Gamma.logGamma(alpha + beta); in recomputeZ()
DTDistributionImpl.java118 …return FastMath.exp(Gamma.logGamma(nPlus1Over2) - 0.5 * (FastMath.log(FastMath.PI) + FastMath.log(… in density()
119 Gamma.logGamma(n/2) - nPlus1Over2 * FastMath.log(1 + x * x /n)); in density()
DWeibullDistributionImpl.java316 return sc * FastMath.exp(Gamma.logGamma(1 + (1 / sh))); in calculateNumericalMean()
335 FastMath.exp(Gamma.logGamma(1 + (2 / sh))) - in calculateNumericalVariance()
DSaddlePointExpansion.java114 ret = Gamma.logGamma(z + 1.0) - (z + 0.5) * FastMath.log(z) + in getStirlingError()
DGammaDistributionImpl.java206 …th.pow(x / beta, alpha - 1) / beta * FastMath.exp(-x / beta) / FastMath.exp(Gamma.logGamma(alpha)); in density()