30 #ifndef NUMCPP_NO_USE_BOOST
36 #include "boost/math/special_functions/gamma.hpp"
50 template<
typename dtype>
55 return boost::math::lgamma(inValue);
66 template<
typename dtype>
72 [](dtype inValue) ->
auto
74 return log_gamma(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 log_gamma(dtype inValue)
Definition: log_gamma.hpp:51
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:702
Definition: Coordinate.hpp:45