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"
54 template<
typename dtype>
59#ifdef __cpp_lib_math_special_functions
60 return std::sph_bessel(inV, inX);
62 return boost::math::sph_bessel(inV, inX);
76 template<
typename dtype>
84 [inV](dtype inX) ->
auto { return spherical_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:139
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1365
const Shape & shape() const noexcept
Definition: NdArrayCore.hpp:4511
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1673
Definition: airy_ai.hpp:39
auto spherical_bessel_jn(uint32 inV, dtype inX)
Definition: spherical_bessel_jn.hpp:55
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:775
std::uint32_t uint32
Definition: Types.hpp:40