All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.maths.ExtraMath

java.lang.Object
   |
   +----JSci.maths.AbstractMath
           |
           +----JSci.maths.ExtraMath

public final class ExtraMath
extends AbstractMath
The extra math library. Provides extra functions not in java.lang.Math class. This class cannot be subclassed or instantiated because all methods are static.


Method Index

 o acosh(double)
Returns the arc hyperbolic cosine of a double, in the range of 0.0 through infinity.
 o asinh(double)
Returns the arc hyperbolic sine of a double, in the range of -infinity through infinity.
 o atanh(double)
Returns the arc hyperbolic tangent of a double, in the range of -infinity through infinity.
 o binomial(double, double)
Returns the binomial coefficient (n k).
 o cosh(double)
Returns the hyperbolic cosine of a double.
 o factorial(double)
Returns the factorial.
 o logFactorial(double)
Returns the natural logarithm of the factorial.
 o sinh(double)
Returns the hyperbolic sine of a double.
 o tanh(double)
Returns the hyperbolic tangent of a double.

Methods

 o factorial
 public static double factorial(double x)
Returns the factorial. (Wrapper for the gamma function).

Parameters:
x - a double
See Also:
gamma
 o logFactorial
 public static double logFactorial(double x)
Returns the natural logarithm of the factorial. (Wrapper for the log gamma function).

Parameters:
x - a double
See Also:
logGamma
 o binomial
 public static double binomial(double n,
                               double k)
Returns the binomial coefficient (n k).

Parameters:
n - a double
k - a double
 o sinh
 public static double sinh(double x)
Returns the hyperbolic sine of a double.

Parameters:
x - a double
 o cosh
 public static double cosh(double x)
Returns the hyperbolic cosine of a double.

Parameters:
x - a double
 o tanh
 public static double tanh(double x)
Returns the hyperbolic tangent of a double.

Parameters:
x - a double
 o asinh
 public static double asinh(double x)
Returns the arc hyperbolic sine of a double, in the range of -infinity through infinity.

Parameters:
x - a double
 o acosh
 public static double acosh(double x)
Returns the arc hyperbolic cosine of a double, in the range of 0.0 through infinity.

Parameters:
x - a double
 o atanh
 public static double atanh(double x)
Returns the arc hyperbolic tangent of a double, in the range of -infinity through infinity.

Parameters:
x - a double

All Packages  Class Hierarchy  This Package  Previous  Next  Index