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/laguerre.hpp"
56 template<
typename dtype>
61 #ifdef __cpp_lib_math_special_functions
79 template<
typename dtype>
84 #ifdef __cpp_lib_math_special_functions
85 return std::assoc_laguerre(m, n,
static_cast<double>(x));
101 template<
typename dtype>
106 const auto function = [n](dtype x) ->
double {
return laguerre(n, x); };
124 template<
typename dtype>
129 const auto function = [n, m](dtype x) ->
double {
return laguerre(n, m, x); };
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1221
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4092
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1529
iterator begin() noexcept
Definition: NdArrayCore.hpp:1171
NdArray< double > laguerre(uint32 n, uint32 m, const NdArray< dtype > &inArrayX)
Definition: laguerre.hpp:125
double laguerre(uint32 n, dtype x)
Definition: laguerre.hpp:57
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:784
Definition: Coordinate.hpp:45
std::uint32_t uint32
Definition: Types.hpp:40