32 #if defined(__cpp_lib_math_special_functions) || !defined(NUMCPP_NO_USE_BOOST)
38 #ifndef __cpp_lib_math_special_functions
39 #include "boost/math/special_functions/bessel.hpp"
42 #include <type_traits>
56 template<
typename dtype1,
typename dtype2>
62 #ifdef __cpp_lib_math_special_functions
63 return std::cyl_bessel_j(
static_cast<double>(inV),
static_cast<double>(inX));
65 return boost::math::cyl_bessel_j(
static_cast<double>(inV),
static_cast<double>(inX));
79 template<
typename dtype1,
typename dtype2>
88 [inV](dtype2 inX) ->
auto{ return bessel_jn(inV, inX); });
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:138
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1308
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4402
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1616
iterator begin() noexcept
Definition: NdArrayCore.hpp:1258
Definition: airy_ai.hpp:39
auto bessel_jn(dtype1 inV, dtype2 inX)
Definition: bessel_jn.hpp:57
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:775