public class Hyperbolic extends Object
This Java code is based on C code in the package fdlibm, which can be obtained from www.netlib.org. The original fdlibm C code contains the following notice.
Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Developed at SunSoft, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved.
Modifier and Type | Method and Description |
---|---|
static double |
acosh(double x)
Returns the inverse hyperbolic cosine of its argument.
|
static double |
asinh(double x)
Returns the inverse hyperbolic sine of its argument.
|
static double |
atanh(double x)
Returns the inverse hyperbolic tangent of its argument.
|
static double |
cosh(double x)
Returns the hyperbolic cosine of its argument.
|
static double |
expm1(double x)
Returns exp(x)-1, the exponential of x minus 1.
|
static double |
log1p(double x)
Returns log(1+x), the logarithm of (x plus 1).
|
static double |
sinh(double x)
Returns the hyperbolic sine of its argument.
|
static double |
tanh(double x)
Returns the hyperbolic tangent of its argument.
|
public static double expm1(double x)
x
- a double
specifying the argument.double
value representing exp(x)-1.public static double log1p(double x)
x
- a double
value representing the argument.double
value representing log(1+x).public static double sinh(double x)
x
- a double
value representing the argument.double
value representing the hyperbolic sine of x.public static double cosh(double x)
x
- a double
value representing the argument.double
value representing the hyperbolic cosine of x.public static double tanh(double x)
x
- a double
value representing the argument.double
value representing the hyperbolic tangent of x.public static double asinh(double x)
x
- a double
value representing the argument.double
value representing the number whose hyperbolic sine
is x.public static double acosh(double x)
x
- a double
value representing the argument.double
value representing the number whose hyperbolic cosine
is x.public static double atanh(double x)
x
- a double
value representing the argument.double
value representing the number whose hyperbolic
tangent is x.Copyright © 2020 Rogue Wave Software. All rights reserved.