34#ifndef NUMCPP_NO_USE_BOOST
35#include "boost/math/special_functions/factorials.hpp"
51#ifndef NUMCPP_NO_USE_BOOST
52 if (
inValue <= boost::math::max_factorial<double>::value)
54 return boost::math::factorial<double>(
inValue);
57 return std::numeric_limits<double>::infinity();
62 result *=
static_cast<double>(i);
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
Definition airy_ai.hpp:39
double factorial(uint32 inValue)
Definition factorial.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
std::uint32_t uint32
Definition Types.hpp:40