JMSLTM Numerical Library 7.2.0
com.imsl.math

## Class Hyperbolic

• ```public class Hyperbolic
extends Object```
Pure Java implementation of the hyperbolic functions and their inverses.

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.

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.

Example
• ### Method Summary

Methods
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.
• ### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Method Detail

• #### acosh

`public static double acosh(double x)`
Returns the inverse hyperbolic cosine of its argument. Specifically,
acosh(1) returns +0
returns
returns NaN, if .
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing the number whose hyperbolic cosine is x.
• #### asinh

`public static double asinh(double x)`
Returns the inverse hyperbolic sine of its argument. Specifically,
returns
returns
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing the number whose hyperbolic sine is x.
• #### atanh

`public static double atanh(double x)`
Returns the inverse hyperbolic tangent of its argument. Specifically,
returns
returns
atanh(x) returns NaN, if .
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing the number whose hyperbolic tangent is x.
• #### cosh

`public static double cosh(double x)`
Returns the hyperbolic cosine of its argument. Specifically,
returns 1.
returns
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing the hyperbolic cosine of x.
• #### expm1

`public static double expm1(double x)`
Returns exp(x)-1, the exponential of x minus 1. Specifically,
returns
returns
returns -1.
Parameters:
`x` - a `double` specifying the argument.
Returns:
a `double` value representing exp(x)-1.
• #### log1p

`public static double log1p(double x)`
Returns log(1+x), the logarithm of (x plus 1). Specifically,
returns
returns
returns NaN, if .
returns
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing log(1+x).
• #### sinh

`public static double sinh(double x)`
Returns the hyperbolic sine of its argument. Specifically,
returns
returns
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing the hyperbolic sine of x.
• #### tanh

`public static double tanh(double x)`
Returns the hyperbolic tangent of its argument. Specifically,
returns
returns .
Parameters:
`x` - a `double` value representing the argument.
Returns:
a `double` value representing the hyperbolic tangent of x.
JMSLTM Numerical Library 7.2.0