Template Function TRAP::Math::Log(const tQuat<T>&)#

Function Documentation#

template<typename T>
constexpr tQuat<T> TRAP::Math::Log(const tQuat<T> &q)#

Retrieve the natural logarithm of the parameter.

Parameters:

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

Returns:

Logarithm of a quaternion.