MathNLogTNumeric(TNumeric, TNumeric) Method
Returns the logarithm of a specified number in a specified base.
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static TNumeric Log<TNumeric>(
TNumeric x,
TNumeric y
)
where TNumeric : struct, new(), INumeric<TNumeric>
Public Shared Function Log(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
x As TNumeric,
y As TNumeric
) As TNumeric
public:
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static TNumeric Log(
TNumeric x,
TNumeric y
)
static member Log :
x : 'TNumeric *
y : 'TNumeric -> 'TNumeric when 'TNumeric : struct, new() and INumeric<'TNumeric>
- x TNumeric
-
- y TNumeric
-
- TNumeric
TNumericlog newBase(a)
This method may return
NaN or Infinity.
If
NaN or Infinity cannot be represented by
TNumeric,
then this method may throw an
ArithmeticException.