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/ellint_1.hpp"
53 template<
typename dtype>
58#ifdef __cpp_lib_math_special_functions
59 return std::comp_ellint_1(inK);
61 return boost::math::ellint_1(inK);
74 template<
typename dtype>
82 [](dtype inK) ->
auto { return comp_ellint_1(inK); });
#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:135
const_iterator cbegin() const noexcept
Definition NdArrayCore.hpp:1361
const Shape & shape() const noexcept
Definition NdArrayCore.hpp:4587
const_iterator cend() const noexcept
Definition NdArrayCore.hpp:1669
Definition airy_ai.hpp:39
auto comp_ellint_1(dtype inK)
Definition comp_ellint_1.hpp:54
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition StlAlgorithms.hpp:776