WorksheetFunction.GammaLn_Precise(Double) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 γ 函数的自然对数 Γ(x)。
public:
double GammaLn_Precise(double Arg1);
public double GammaLn_Precise(double Arg1);
Public Function GammaLn_Precise (Arg1 As Double) As Double
参数
- Arg1
- Double
X - 要计算其 GAMMALN 的值。
返回
注解
如果 x 为非数值,GammaLn_Precise 方法将返回错误。
如果 x ≤ 0,GammaLn_Precise 方法将返回错误。
数字 e 的 GAMMALN(i)(i 为整数)次幂的返回值与 (i - 1)! 的结果相同。
GAMMALN 的计算方式如下:
图 1:GammaLn_Precise 方法的公式
其中:
图 2:公式