sinh
-
constexpr Complex sinh(const Complex &z) noexcept
Returns the complex sinh [1] of a complex number \(z\).
Parameters
- const Complex &z
A complex number.
Returns
- type Complex
A complex number.
The sinh function of a complex number is defined as:
\[\sinh z = \sinh x \cos y + i\cosh x \sin y\]
for \(\Re(z) = x\) and \(\Im(z) = y\).
Example
Complex z = 3 + 4_j;
std::cout << sinh(z) << "\n";
Output:
-6.54812 - 7.61923j
References