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

Function Documentation#

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

Standard trigonometric cosine function. Values returned by this function will range from [-1, 1].

Parameters:

x – Specify the quantity, in radians, of which to return the cosine.

Returns:

Cosine.