Redigera

Dela via


ILogarithmicFunctions<TSelf>.Log Method

Definition

Overloads

Log(TSelf)

Computes the natural (base-E logarithm of a value.

Log(TSelf, TSelf)

Computes the logarithm of a value in the specified base.

Log(TSelf)

Source:
ILogarithmicFunctions.cs
Source:
ILogarithmicFunctions.cs
Source:
ILogarithmicFunctions.cs

Computes the natural (base-E logarithm of a value.

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

Parameters

x
TSelf

The value whose natural logarithm is to be computed.

Returns

TSelf

The natural logarithm of x.

Applies to

Log(TSelf, TSelf)

Source:
ILogarithmicFunctions.cs
Source:
ILogarithmicFunctions.cs
Source:
ILogarithmicFunctions.cs

Computes the logarithm of a value in the specified base.

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

Parameters

x
TSelf

The value whose logarithm is to be computed.

newBase
TSelf

The base in which the logarithm is to be computed.

Returns

TSelf

The base-newBase logarithm of x.

Applies to