sidl
Class Sfun
public class Sfun
extends java.lang.Object
Collection of special functions.
static double | EPSILON_LARGE - The largest relative spacing for doubles.
|
static double | EPSILON_SMALL - The smallest relative spacing for doubles.
|
static double | acosh(double x) - Returns the inverse (arc) hyperbolic cosine of a double.
|
static double | asinh(double x) - Returns the inverse (arc) hyperbolic sine of a double.
|
static double | atanh(double x) - Returns the inverse (arc) hyperbolic tangent of a double.
|
static double | cosh(double x) - Returns the hyperbolic cosine of a double.
|
static double | cot(double x) - Returns the cotangent of a double.
|
static double | erf(double x) - Returns the error function of a double.
|
static double | erfc(double x) - Returns the complementary error function of a double.
|
static double | fact(int n) - Returns the factorial of an integer.
|
static double | gamma(double x) - Returns the Gamma function of a double.
|
static double | log10(double x) - Returns the common (base 10) logarithm of a double.
|
static double | logBeta(double a, double b) - Returns the logarithm of the Beta function.
|
static double | logGamma(double x) - Returns the logarithm of the Gamma function of a double.
|
static double | sinh(double x) - Returns the inverse (arc) hyperbolic sine of a double.
|
static double | tanh(double x) - Returns the hyperbolic tangent of a double.
|
EPSILON_LARGE
public static final double EPSILON_LARGE
The largest relative spacing for doubles.
EPSILON_SMALL
public static final double EPSILON_SMALL
The smallest relative spacing for doubles.
acosh
public static double acosh(double x)
Returns the inverse (arc) hyperbolic cosine of a double.
- The arc hyperbolic cosine of x.
If x is NaN or less than one, the result is NaN.
asinh
public static double asinh(double x)
Returns the inverse (arc) hyperbolic sine of a double.
- The arc hyperbolic sine of x.
If x is NaN, the result is NaN.
atanh
public static double atanh(double x)
Returns the inverse (arc) hyperbolic tangent of a double.
- The arc hyperbolic tangent of x.
If x is NaN or |x|>1, the result is NaN.
cosh
public static double cosh(double x)
Returns the hyperbolic cosine of a double.
- The hyperbolic cosine of x.
If x is NaN, the result is NaN.
cot
public static double cot(double x)
Returns the cotangent of a double.
- The cotangent of x.
If x is NaN, the result is NaN.
erf
public static double erf(double x)
Returns the error function of a double.
erfc
public static double erfc(double x)
Returns the complementary error function of a double.
- The complementary error function of x.
fact
public static double fact(int n)
Returns the factorial of an integer.
- The factorial of n, n!.
If x is negative, the result is NaN.
gamma
public static double gamma(double x)
Returns the Gamma function of a double.
- The Gamma function of x.
If x is a negative integer, the result is NaN.
log10
public static double log10(double x)
Returns the common (base 10) logarithm of a double.
- The common logarithm of x.
logBeta
public static double logBeta(double a,
double b)
Returns the logarithm of the Beta function.
a
- A double value.b
- A double value.
- The natural logarithm of the Beta function.
logGamma
public static double logGamma(double x)
Returns the logarithm of the Gamma function of a double.
- The natural logarithm of the Gamma function of x.
If x is a negative integer, the result is NaN.
sinh
public static double sinh(double x)
Returns the inverse (arc) hyperbolic sine of a double.
- The arc hyperbolic sine of x.
If x is NaN or less than one, the result is NaN.
tanh
public static double tanh(double x)
Returns the hyperbolic tangent of a double.
- The hyperbolic tangent of x.