Skip to content

other_math


gamma function (generic::gamma)

template <numeric T1> flt_type<T1> gamma(const T1 &x)

Returns the approximate gamma function of an argument


factorial_approx function (generic::factorial_approx)

template <numeric T1>
flt_type<T1> factorial_approx(const T1 &x)

Returns the approximate factorial of an argument


factorial function (generic::factorial)

constexpr uint64_t factorial(int n)

Returns the factorial of an argument. Returns max(uint64_t) if does not fit to uint64_t


modzerobessel function (generic::modzerobessel)

template <numeric T1> T1 modzerobessel(const T1 &x)

Computes the modified zeroth-order Bessel function of the first kind. This function calculates Iā‚€(x), the modified Bessel function of the first kind with order zero, for the given input value.
Template param T1 The numeric type of the input parameter.
Param x The input value for which to compute the modified Bessel function
Returns The computed value of Iā‚€(x)


Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/