Class LogBeta
java.lang.Object
dev.nm.analysis.function.rn2r1.AbstractRealScalarFunction
dev.nm.analysis.function.rn2r1.AbstractBivariateRealFunction
dev.nm.analysis.function.special.beta.LogBeta
- All Implemented Interfaces:
Function<Vector,
,Double> BivariateRealFunction
,RealScalarFunction
This class represents the log of Beta function
log(B(x, y))
.
Γ(x)Γ(y)
log(B(x, y)) = log ( ----------- ) = logΓ(x) + logΓ(y) - logΓ(x + y)
Γ(x+y)
x > 0, y > 0
The R equivalent function is lbeta
.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.nm.analysis.function.Function
Function.EvaluationException
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.nm.analysis.function.rn2r1.AbstractBivariateRealFunction
evaluate
Methods inherited from class dev.nm.analysis.function.rn2r1.AbstractRealScalarFunction
dimensionOfDomain, dimensionOfRange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.nm.analysis.function.Function
dimensionOfDomain, dimensionOfRange
-
Constructor Details
-
LogBeta
public LogBeta()
-
-
Method Details
-
evaluate
public double evaluate(double x, double y) Computelog(B(x,y))
.- Parameters:
x
-x >= 0
y
-y >= 0
- Returns:
log(B(x,y))
-