Double.Log 方法

定义

重载

Log(Double, Double)

计算指定基数中某个值的对数。

Log(Double)

计算值的自然 (base-E 对数。

Log(Double, Double)

Source:
Double.cs
Source:
Double.cs
Source:
Double.cs

计算指定基数中某个值的对数。

public:
 static double Log(double x, double newBase) = System::Numerics::ILogarithmicFunctions<double>::Log;
public static double Log (double x, double newBase);
static member Log : double * double -> double
Public Shared Function Log (x As Double, newBase As Double) As Double

参数

x
Double

要计算其对数的值。

newBase
Double

计算对数的基数。

返回

的基newBase 数对数 x

实现

适用于

Log(Double)

Source:
Double.cs
Source:
Double.cs
Source:
Double.cs

计算值的自然 (base-E 对数。

public:
 static double Log(double x) = System::Numerics::ILogarithmicFunctions<double>::Log;
public static double Log (double x);
static member Log : double -> double
Public Shared Function Log (x As Double) As Double

参数

x
Double

要计算其自然对数的值。

返回

x 的自然对数。

实现

适用于