Steps to use gamma function are as follows:
- Install the proper function
- Execute the function
- Solve the function
- The result will be presented
We will see in the following table the function and the description:
Function |
Description |
gamma(z) |
Gamma function |
gammaln(x, /[, out, where, casting, order, ...]) |
Logarithm of the absolute value of the gamma function |
loggamma(z[, out]) |
Principal branch of the logarithm of the gamma function |
gammasgn(x) |
Sign of the gamma function |
gammainc(a, x) |
Regularized lower incomplete gamma function |
gammaincinv(a, y) |
Inverse to gammainc |
gammaincc(a, x) |
Regularized upper incomplete gamma function |
gammainccinv(a, y) |
Inverse to gammaincc |
beta(a, b) |
Beta function |
betaln(a, b) |
Natural logarithm of absolute value of beta function |
betainc(a, b, x) |
Incomplete beta integral |
betaincinv(a, b, y) |
Inverse function to beta integral |
psi(z[, out]) |
The digamma function |
rgamma(z) |
Gamma function inverted |
polygamma(n, x) |
Polygamma function n |
multigammaln(a, d) |
Returns the log of multivariate gamma, also sometimes called the generalized gamma |
digamma(z[, out]) |
The digamma function |
poch(z, m) |
Rising factorial (z)_m |