30 #if defined(__cpp_lib_math_special_functions) || !defined(NUMCPP_NO_USE_BOOST)
36 #ifdef __cpp_lib_math_special_functions
39 #include "boost/math/special_functions/bessel.hpp"
56 template<
typename dtype>
61 #ifdef __cpp_lib_math_special_functions
62 return std::sph_bessel(inV, inX);
64 return boost::math::sph_bessel(inV, inX);
78 template<
typename dtype>
84 [inV](dtype inX) ->
auto
86 return spherical_bessel_jn(inV, inX);
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1216
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4283
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1524
iterator begin() noexcept
Definition: NdArrayCore.hpp:1166
auto spherical_bessel_jn(uint32 inV, dtype inX)
Definition: spherical_bessel_jn.hpp:57
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:702
Definition: Coordinate.hpp:45
std::uint32_t uint32
Definition: Types.hpp:40