ID EN
Math Functions

Hyperbolic

R Base 3.6.2

These functions give the obvious hyperbolic functions. They respectively compute the hyperbolic cosine, sine, tangent, and their inverses, arc-cosine, arc-sine, arc-tangent (or ‘area cosine’, etc).

Syntax

R
cosh(x)
sinh(x)
tanh(x)
acosh(x)
asinh(x)
atanh(x)

Arguments

Parameter Description
x a numeric or complex vector

Details

These are internal generic primitive functions: methods can be defined for them individually or via the Math group generic. Branch cuts are consistent with the inverse trigonometric functions asin et seq, and agree with those defined in Abramowitz and Stegun, figure 4.7, page 86. The behaviour actually on the cuts follows the C99 standard which requires continuity coming round the endpoint in a counter-clockwise direction.

See Also

The trigonometric functions cos sin tan and their inverses acos asin atan. The logistic distribution function plogis is a shifted version of tanh() for numeric x.