C++ Complex Library - Cosh



Description

It is a hyperbolic cosine of complex and returns the hyperbolic cosine of the complex number x.

Declaration

Following is the declaration for std::cosh.

template<class T> complex<T> cosh (const complex<T>& x);

C++11

	
template<class T> complex<T> cosh (const complex<T>& x);

Parameters

x − It is a complex value.

Return Value

It returns the hyperbolic cosine of the complex number x.

Exceptions

none

complex.htm
Advertisements