|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSciLib.Math.SpecFunc
public final class SpecFunc
This class contains some methods to construct numerical data.
| Constructor Summary | |
|---|---|
SpecFunc()
|
|
| Method Summary | |
|---|---|
static double |
Bess0(double x,
int n)
The modified zeroth Bessl function |
static double |
beta(double z,
double w)
Compute the beta function at point z, w |
static double |
betainc(double a,
double b,
double x)
Compute the incomplete beta function betainc(a,b,x) betainc(a,b,x) = 1/beta(a,b) * integral from 0 to x of t^(a-1)(1-t)^(b-1) dt |
static double |
bico(int n,
int k)
Compute the binomial coefficient |
static double |
diric(double x,
int n)
Compute Dirichlet(x,n) |
static double |
erf(double x)
Compute the error function erf(x) erf(x) = 2/sqrt(pi) * integral from 0 to x of exp(-t^2)dt |
static double |
erfc(double x)
Compute the error function erfc(x) erfx(x) = 2/sqrt(pi) * integral from x to inf of exp(-t^2)dt |
static double |
expi(double x)
Compute the exponent integral function expi(n,x) = integral from -inf to x of exp(t)/t dt |
static double |
expint(int n,
double x)
Compute the exponent integral function expint(n,x) = integral from 1 to inf of exp(-x*t)/t^n dt |
static double |
factln(int n)
Compute the logarithm of n! |
static double |
gamma(double x)
Compute the logarithm of the gamma function at a point x gamma(x) = integral from 0 to inf of t^(x-1)exp(-t)dt |
static double |
gammaln(double x)
Compute the logarithm of the gamma function at a point x gamma(x) = integral from 0 to inf of t^(x-1)exp(-t)dt |
static double |
gammap(double a,
double x)
Compute the gamma incomplete function P(a,x) gammap(a,x) = 1/gamma(a) * integral from 0 to x of t^(a-1)exp(-t)dt |
static double |
gammaq(double a,
double x)
Compute the gamma incomplete function Q(a,x) = 1 - P(a,x) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpecFunc()
| Method Detail |
|---|
public static double gamma(double x)
x - A double value. If x is an integer n gamma(n + 1) = n!
public static double gammaln(double x)
x - A double value. If x is an integer n gamma(n + 1) = n!
public static double factln(int n)
n - An integer value
public static double bico(int n,
int k)
n - An integer value, n > 0.k - An integer value, 0<= k <= n.
public static double gammap(double a,
double x)
a - A double value, a > 0.x - A double value, x >= 0.
public static double gammaq(double a,
double x)
a - A double value, a > 0.x - A double value, x >= 0.
public static double erf(double x)
x - A double value, x >= 0.
public static double erfc(double x)
x - A double value, x >= 0.
public static double beta(double z,
double w)
z - A double value.w - A double value.
public static double betainc(double a,
double b,
double x)
a - A double value, a > 0.b - A double value, b > 0.x - A double value, 0 <= x <= 1.
public static double expint(int n,
double x)
n - An integer value, n >= 0.x - A double value, x > 0.
public static double expi(double x)
x - A double value, x > 0.
public static double diric(double x,
int n)
x - A double valuen - An integer
public static double Bess0(double x,
int n)
x - A double valuen - An integer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||