共用方式為


ILogarithmicFunctions<TSelf>.Log 方法

定義

多載

Log(TSelf)

計算值的自然 (base-E 對數。

Log(TSelf, TSelf)

計算指定基底中值的對數。

Log(TSelf)

來源:
ILogarithmicFunctions.cs
來源:
ILogarithmicFunctions.cs
來源:
ILogarithmicFunctions.cs

計算值的自然 (base-E 對數。

public:
 static TSelf Log(TSelf x);
public static abstract TSelf Log (TSelf x);
static member Log : 'Self -> 'Self
Public Shared Function Log (x As TSelf) As TSelf

參數

x
TSelf

要計算其自然對數的值。

傳回

TSelf

x 的自然對數。

適用於

Log(TSelf, TSelf)

來源:
ILogarithmicFunctions.cs
來源:
ILogarithmicFunctions.cs
來源:
ILogarithmicFunctions.cs

計算指定基底中值的對數。

public:
 static TSelf Log(TSelf x, TSelf newBase);
public static abstract TSelf Log (TSelf x, TSelf newBase);
static member Log : 'Self * 'Self -> 'Self
Public Shared Function Log (x As TSelf, newBase As TSelf) As TSelf

參數

x
TSelf

要計算其對數的值。

newBase
TSelf

要計算對數的基底。

傳回

TSelf

的基數newBase 對數 x

適用於