Template Function TRAP::Math::Log(T)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Log(T x)#

Retrieve the natural logarithm of the parameter.

Log function is defined for input values of x defined in the range (0, inf+) in the limit of the type qualifier.

Parameters:

x – Specify the value of which to take the natural logarithm.

Returns:

Natural logarithm of x, i.e., returns the value y which satisfies the equation x = e^y.