std::cosh

From Cppreference

Jump to: navigation, search
Defined in header <cmath>

float       cosh( float arg );

double      cosh( double arg );

long double cosh( long double arg );

double      cosh( Integral arg );
(since C++11)

Computes hyperbolic cosine of arg

[edit] Parameters

arg - floating point value

[edit] Return value

hyperbolic cosine of arg

[edit] See also

computes hyperbolic sine (sh(x))
(function)
hyperbolic tangent
(function)
(C++11)
hyperbolic arc cosine
(function)
computes hyperbolic cosine of a complex number (ch(z))
(function template)
applies the function std::cosh to each element of valarray
(function template)