Back to Scientific Computing (SciPy)
sp.special.rgamma
Reciprocal of the gamma function: 1/Γ(x)
Syntax
sp.special.rgamma(x)
Description
Reciprocal of the gamma function: 1/Γ(x) This function is more numerically stable than computing 1/gamma(x), especially for large |x| where gamma(x) might overflow or underflow.
Parameters
| Name | Description |
|---|---|
| x | - Input value(s). Can be a number or array of numbers. |
Returns
Promise<number | number[]>