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/zeta.hpp"
56 template<
typename dtype>
61 #ifdef __cpp_lib_math_special_functions
64 return boost::math::zeta(inValue);
78 template<
typename dtype>
84 [](dtype inValue) ->
auto
86 return riemann_zeta(inValue);
#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 riemann_zeta(const NdArray< dtype > &inArray)
Definition: riemann_zeta.hpp:79
auto riemann_zeta(dtype inValue)
Definition: riemann_zeta.hpp:57
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:702
Definition: Coordinate.hpp:45