hv1
-
constexpr Complex hv1(const double v, const Complex &z) noexcept
Evaluates the Hankel function of the first kind [1] for a complex input and real order.
Parameters
Returns
- type Complex
A complex number.
The Hankel functions of the first kind are defined as:
\[H_{n}^{(1)}(z) = J_n(z) + iY_n(z)\]
Example
int n = 0.5;
Complex z = 1 + 1_j;
std::cout << hv1(n, z) << "\n";
Output:
0.139216 - 0.201651j
References