kyosu v0.1.0
Complex Without Complexes
 
Loading...
Searching...
No Matches

◆ cyl_bessel_h2_0

kyosu::cyl_bessel_h2_0 = {}
inlineconstexpr

Computes the Bessel function of the third kind, \( H^{(2)}_0(x)\).

#include <kyosu/functions.hpp>

Callable Signatures

namespace kyosu
{
template<kyosu::concepts::cayley_dickson T> constexpr auto cyl_bessel_h2_0(T z) noexcept;
template<eve::floating_ordered_value T> constexpr T cyl_bessel_h2_0(T z) noexcept;
}
constexpr tags::callable_cyl_bessel_h2_0 cyl_bessel_h2_0
Computes the Bessel function of the third kind, .
Definition: cyl_bessel_h2_0.hpp:74
Main KYOSU namespace.
Definition: types.hpp:14

Parameters

  • z: Value to process.

Return value

  • returns \( H^{(2)}_0(x)\).

Example

#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>>;
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5));
std::cout << "z " << z << std::endl;
std::cout << "cyl_bessel_h2_0(z) " << kyosu::cyl_bessel_h2_0(z) << std::endl;
return 0;
}
constexpr tags::callable_complex complex
Constructs a kyosu::complex.
Definition: to_complex.hpp:70