Template Function TRAP::Math::Log(Vec<L, T>)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::Log(Vec<L, 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.

Note

Results are undefined if x <= 0!

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.