32#ifdef MX_INCLUDE_BOOST
33#include <boost/math/special_functions/bessel.hpp>
48template <
typename T1,
typename T2>
53#ifdef MX_INCLUDE_BOOST
54 return boost::math::cyl_bessel_j<T1, T2>( v, x );
56 static_assert( std::is_fundamental<T1>::value || !std::is_fundamental<T1>::value,
57 "bessel_j<T1,T2> not specialized for type T1 and/or T2, and MX_INCLUDE_BOOST is not defined, so I "
58 "can't just use boost." );
64float bessel_j<float, float>(
float v,
float x );
67float bessel_j<int, float>(
int v,
float x );
70double bessel_j<double, double>(
double v,
double x );
73double bessel_j<int, double>(
int v,
double x );
76long double bessel_j<long double, long double>(
long double v,
long double x );
79long double bessel_j<int, long double>(
int v,
long double x );
T2 bessel_j(T1 v, T2 x)
Bessel Functions of the First Kind.
constexpr floatT six_fifths()
Return 6/5 in the specified precision.