Computes the Bessel/Hankel functions of the third kind , \( H_n^{(2)} = J_n(z)-iY_n(z)\).
#include <kyosu/kyosu.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
std::cout.precision(16);
using w_t = eve::wide<double, eve::fixed<2>>;
for(int n=2; n <= 2; ++n)
{
std::cout << "n " << n << " z " << z << std::endl;
std::cout << "yl_bessel_h2n(n, z) " << h1n << std::endl;
}
return 0;
}
constexpr tags::callable_complex complex
Constructs a kyosu::complex.
Definition: to_complex.hpp:70