Template Function librapid::cosh(const Complex<T>&)#

Function Documentation#

template<typename T>
Complex<T> librapid::cosh(const Complex<T> &other)#

Compute the complex hyperbolic cosine of a complex number.

This function computes the complex hyperbolic cosine of the input complex number, \( \text{cosh}(z) \)

Template Parameters

T – Scalar type of the complex number

Parameters

other – Input complex number

Returns

Complex hyperbolic cosine of the input complex number