naginterfaces.library.specfun.sinh

naginterfaces.library.specfun.sinh(x)[source]

sinh returns the value of the hyperbolic sine, .

For full information please refer to the NAG Library document for s10ab

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/s/s10abf.html

Parameters
xfloat

The argument of the function.

Returns
shxfloat

The value of the hyperbolic sine, .

Warns
NagAlgorithmicWarning
(errno )

On entry, .

Constraint: .

The function has been called with an argument too large in absolute magnitude. There is a danger of overflow. The result returned is the value of at the closest argument for which a valid call could be made.

Notes

sinh calculates an approximate value for the hyperbolic sine of its argument, .

For it uses the Chebyshev expansion

where .

For

where is a machine-dependent constant.

For , the function fails owing to the danger of setting overflow in calculating . The result returned for such calls is , i.e., it returns the result for the nearest valid argument.

References

NIST Digital Library of Mathematical Functions