public class Beta extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
logBeta(double a,
double b)
Returns the natural logarithm of the beta function B(a, b).
|
static double |
logBeta(double a,
double b,
double epsilon,
int maxIterations)
Returns the natural logarithm of the beta function B(a, b).
|
static double |
regularizedBeta(double x,
double a,
double b)
Returns the
regularized beta function I(x, a, b).
|
static double |
regularizedBeta(double x,
double a,
double b,
double epsilon)
Returns the
regularized beta function I(x, a, b).
|
static double |
regularizedBeta(double x,
double a,
double b,
double epsilon,
int maxIterations)
Returns the regularized beta function I(x, a, b).
|
static double |
regularizedBeta(double x,
double a,
double b,
int maxIterations)
Returns the regularized beta function I(x, a, b).
|
public static double regularizedBeta(double x,
double a,
double b)
x - Value.a - Parameter a.b - Parameter b.MaxCountExceededException - if the algorithm fails to converge.public static double regularizedBeta(double x,
double a,
double b,
double epsilon)
x - Value.a - Parameter a.b - Parameter b.epsilon - When the absolute value of the nth item in the
series is less than epsilon the approximation ceases to calculate
further elements in the series.MaxCountExceededException - if the algorithm fails to converge.public static double regularizedBeta(double x,
double a,
double b,
int maxIterations)
x - the value.a - Parameter a.b - Parameter b.maxIterations - Maximum number of "iterations" to complete.MaxCountExceededException - if the algorithm fails to converge.public static double regularizedBeta(double x,
double a,
double b,
double epsilon,
int maxIterations)
x - the value.a - Parameter a.b - Parameter b.epsilon - When the absolute value of the nth item in the
series is less than epsilon the approximation ceases to calculate
further elements in the series.maxIterations - Maximum number of "iterations" to complete.MaxCountExceededException - if the algorithm fails to converge.public static double logBeta(double a,
double b)
a - Parameter a.b - Parameter b.public static double logBeta(double a,
double b,
double epsilon,
int maxIterations)
a - Parameter a.b - Parameter b.epsilon - When the absolute value of the nth item in the
series is less than epsilon the approximation ceases to calculate
further elements in the series.maxIterations - Maximum number of "iterations" to complete.Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.