Package org.apache.commons.numbers.gamma
Class Beta
- java.lang.Object
-
- org.apache.commons.numbers.gamma.Beta
-
public final class Beta extends Object
Beta function.where
is the gamma function.This code has been adapted from the Boost
c++
implementation<boost/math/special_functions/beta.hpp>
.- Since:
- 1.1
- See Also:
- Boost C++ Beta function
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
value(double a, double b)
Computes the value of the beta function B(a, b).
-
-
-
Method Detail
-
value
public static double value(double a, double b)
- Parameters:
a
- Parametera
.b
- Parameterb
.- Returns:
- the beta function
.
-
-