drasys.or.prob
Class IncompleteBeta
java.lang.Object
|
+--drasys.or.Functions
|
+--drasys.or.prob.IncompleteBeta
- public class IncompleteBeta
- extends Functions
- implements FunctionI
An implementation of the incomplete beta function.
References:
The Art of Computer Programming: Seminumerical Algorithms (Vol 2, 3rd Ed)
Donald Ervin Knuth; Hardcover
Numerical Recipes in C : The Art of Scientific Computing
William H. Press, et al / Hardcover / Published 1993
Probability and Statistics
Morris H. Degroot / Hardcover / Published 1986
Mathematical Statistics With Applications
Dennis D. Wackerly, et al / Hardcover / Published 1996
- See Also:
- Serialized Form
Method Summary |
double |
function(double x)
Compute the incomplete beta value for 'x'. |
void |
setEpsilon(double epsilon)
Sets the relative error of the approximation. |
void |
setMaxIterations(int max)
Sets the maximum number of iterations for the approximation. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IncompleteBeta
public IncompleteBeta(double a,
double b)
setMaxIterations
public void setMaxIterations(int max)
- Sets the maximum number of iterations for the approximation.
setEpsilon
public void setEpsilon(double epsilon)
- Sets the relative error of the approximation.
function
public double function(double x)
throws ProbError
- Compute the incomplete beta value for 'x'.
- Specified by:
- function in interface FunctionI
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com