NumCpp  2.13.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
bessel_in_prime.hpp
Go to the documentation of this file.
1
28#pragma once
29
30#ifndef NUMCPP_NO_USE_BOOST
31
32#include <type_traits>
33
34#include "boost/math/special_functions/bessel_prime.hpp"
35
38#include "NumCpp/NdArray.hpp"
39
40namespace nc::special
41{
42 //============================================================================
43 // Method Description:
51 template<typename dtype1, typename dtype2>
53 {
56
57 return boost::math::cyl_bessel_i_prime(inV, inX);
58 }
59
60 //============================================================================
61 // Method Description:
69 template<typename dtype1, typename dtype2>
71 {
72 NdArray<decltype(bessel_in_prime(dtype1{ 0 }, dtype2{ 0 }))> returnArray(inArrayX.shape());
73
75 inArrayX.cend(),
76 returnArray.begin(),
77 [inV](dtype2 inX) -> auto { return bessel_in_prime(inV, inX); });
78
79 return returnArray;
80 }
81} // namespace nc::special
82
83#endif // #ifndef NUMCPP_NO_USE_BOOST
#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
Definition airy_ai.hpp:39
auto bessel_in_prime(dtype1 inV, dtype2 inX)
Definition bessel_in_prime.hpp:52
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition StlAlgorithms.hpp:775
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59