WorksheetFunction.GammaLn_Precise(Double) 方法

定义

返回 γ 函数的自然对数 Γ(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:公式

适用于