30#ifndef NUMCPP_NO_USE_BOOST
32#include "boost/math/special_functions/gamma.hpp"
48 template<
typename dtype>
53 return boost::math::lgamma(
inValue);
64 template<
typename dtype>
72 [](
dtype inValue) ->
auto { return log_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
Definition airy_ai.hpp:39
auto log_gamma(dtype inValue)
Definition log_gamma.hpp:49
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