Other math functions¶
factorial
function¶
constexpr uint64_t factorial(int n)
Returns the factorial of an argument. Returns max(uint64_t) if does not fit to uint64_t
factorial_approx
function¶
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> factorial_approx(const T1 &x)
Returns the approximate factorial of an argument
gamma
function¶
template <typename T1, KFR_ENABLE_IF(is_numeric<T1>)>
flt_type<T1> gamma(const T1 &x)
Returns the approximate gamma function of an argument
Auto-generated from sources, Revision 6aea976a464de59d522d0c629e64bf0c044e6777, https://github.com/kfrlib/kfr/blob/6aea976a464de59d522d0c629e64bf0c044e6777/include/kfr/