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

◆ cyl_bessel_y

kyosu::cyl_bessel_y = {}
inlineconstexpr

Computes the Bessel functions of the second kind,.

#include <kyosu/functions.hpp>

Callable Signatures

namespace kyosu
{
template<eve::floating_ordered_value, kyosu::concepts::cayley_dickson T>
constexpr auto cyl_bessel_y(N nu, T z) noexcept;
template<eve::floating_ordered_value, eve::floating_ordered_value T>
constexpr T cyl_bessel_y(N n, T z) noexcept;
}
constexpr tags::callable_cyl_bessel_y cyl_bessel_y
Computes the Bessel functions of the second kind,.
Definition: cyl_bessel_y.hpp:94
Main KYOSU namespace.
Definition: types.hpp:14

Parameters

  • nu: order of the function.
  • z: Value to process.

Return value

  • returns \(Y_\nu(z)\).

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));
auto v = 3.3;
std::cout << "z " << z << std::endl;
std::vector<decltype(z)> is(4);
for(int n=0; n <= 3; ++n)
{
std::cout << "is[" << n << "] = " << is[n] << std::endl;
}
return 0;
}
constexpr tags::callable_cyl_bessel_i cyl_bessel_i
Computes the Modified Bessel functions of the first kind.
Definition: cyl_bessel_i.hpp:106
constexpr tags::callable_complex complex
Constructs a kyosu::complex.
Definition: to_complex.hpp:70