mars.tensor.special.rgamma#
- mars.tensor.special.rgamma(x, out=None, **kwargs)[源代码]#
Reciprocal of the gamma function.
Defined as \(1 / \Gamma(z)\), where \(\Gamma\) is the gamma function. For more on the gamma function see gamma.
- 参数
z (array_like) – Real or complex valued input
out (ndarray, optional) – Optional output array for the function results
- 返回
Function results
- 返回类型
scalar or ndarray
备注
The gamma function has no zeros and has simple poles at nonpositive integers, so rgamma is an entire function with zeros at the nonpositive integers. See the discussion in [dlmf] for more details.
引用
- dlmf
Nist, Digital Library of Mathematical functions, https://dlmf.nist.gov/5.2#i