Computes the spherical Bessel function of the first kind, \( k_1(x)= (\pi/2) e^{-z}(1/z+1/z^2)\) extended to the complex plane and cayley_dickson algebras.
#include <kyosu/kyosu.hpp>
#include <eve/wide.hpp>
#include <iostream>
int main()
{
std::cout.precision(16);
std::cout << std::scientific << std::endl;
eve::wide<double, eve::fixed<4>> z(1.0, 15.0, 40.0, 60.0);
eve::wide<double, eve::fixed<4>> z1(1.0, 2.0, 40.0, 0.0), z2(36.0, 0.5, 0.0, 40.0);
return 0;
}
constexpr tags::callable_real real
Extracts the real part of a value.
Definition: real.hpp:83
constexpr tags::callable_complex complex
Constructs a kyosu::complex.
Definition: to_complex.hpp:70
constexpr tags::callable_quaternion quaternion
Constructs a kyosu::quaternion.
Definition: to_quaternion.hpp:72