A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../error/error_code/../../numeric/complex/cosh.html below:

std::cosh(std::complex) - cppreference.com

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

(since C++11)

Computes complex hyperbolic cosine of a complex value z.

[edit] Parameters [edit] Return value

If no errors occur, complex hyperbolic cosine of z is returned.

[edit] Error handling and special values

Errors are reported consistent with math_errhandling.

If the implementation supports IEEE floating-point arithmetic,

where cis(y) is cos(y) + i sin(y).

[edit] Notes

Mathematical definition of hyperbolic cosine is

cosh z =

.

Hyperbolic cosine is an entire function in the complex plane and has no branch cuts. It is periodic with respect to the imaginary component, with period 2πi.

[edit] Examples

Output:

cosh(1.000000,0.000000) = (1.543081,0.000000) (cosh(1) = 1.543081)
cosh(0.000000,1.000000) = (0.540302,0.000000) ( cos(1) = 0.540302)
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4