Package org.apache.commons.numbers.gamma
Class LogBeta
- java.lang.Object
-
- org.apache.commons.numbers.gamma.LogBeta
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublevalue(double p, double q)Returns the value oflog B(p, q)for0 ≤ x ≤ 1andp, q > 0.
-
-
-
Method Detail
-
value
public static double value(double p, double q)
Returns the value oflog B(p, q)for0 ≤ x ≤ 1andp, q > 0. Based on the NSWC Library of Mathematics Subroutines implementation,DBETLN.- Parameters:
p- First argument.q- Second argument.- Returns:
- the value of
log(Beta(p, q)),NaNifp <= 0orq <= 0.
-
-