It is the solution of \( x^{2}y''+xy'+(x^2-n^2)y=0\) for which \( y(0) = 0\) if \(n \ne 0\) else \(1\).
{
template<value N,
floating_value T>
constexpr as_wide_as_t<T,N>
cyl_bessel_jn(N n, T x)
noexcept;
}
Specifies that a type is a Conditional Expression.
Definition: conditional.hpp:27
The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the element type...
Definition: value.hpp:95
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the element type ...
Definition: value.hpp:107
The concept value<T> is satisfied if and only if T satisfies either eve::scalar_value or eve::simd_va...
Definition: value.hpp:33
constexpr auto cyl_bessel_jn
elementwise_callable object computing the Bessel functions of the first kind, .
Definition: cyl_bessel_jn.hpp:80
EVE Main Namespace.
Definition: abi.hpp:18
#include <eve/module/bessel.hpp>
#include <iostream>
eve::wide x{0.5, 1.5, 0.1, 1.0, 19.0, 25.0, 21.5, 10000.0};
eve::wide n{0.5, -1.0, 1.5, -2.0, 2.5, -2.6, 3.2, -12.0};
int main()
{
std::cout << "<- wf = " << wf << "\n";
std::cout << "<- wu = " << wu << "\n";
std::cout << "<- n = " << n << "\n";
std::cout << "<- x = " << x << "\n";
std::cout <<
"-> cyl_bessel_jn[wu != 2u](wu, wf) = " <<
eve::cyl_bessel_jn[wu != 2u](wu, wf) <<
"\n";
}
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition: conditional.hpp:304
Wrapper for SIMD registers.
Definition: wide.hpp:71