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_2.hpp"
55 template<
typename dtype>
60#ifdef __cpp_lib_math_special_functions
61 return std::comp_ellint_2(
inK);
63 return boost::math::ellint_2(
inK);
76 template<
typename dtype>
84 [](
dtype inK) ->
auto { return comp_ellint_2(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:139
Definition airy_ai.hpp:39
auto comp_ellint_2(dtype inK)
Definition comp_ellint_2.hpp:56
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