30#ifndef NUMCPP_NO_USE_BOOST
32#include "boost/math/special_functions/gamma.hpp"
48 template<
typename dtype>
53 return boost::math::tgamma(inValue);
64 template<
typename dtype>
72 [](dtype inValue) ->
auto { return gamma(inValue); });
#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
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1365
const Shape & shape() const noexcept
Definition: NdArrayCore.hpp:4511
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1673
Definition: airy_ai.hpp:39
auto gamma(dtype inValue)
Definition: Special/gamma.hpp:49
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:775