SA_Maths
Sapphire Suite's C++ Maths Library
Loading...
Searching...
No Matches
Functions
Cos.hpp File Reference

Cosinus method implementation. More...

#include <SA/Maths/Angle/Radian.hpp>

Go to the source code of this file.

Functions

template<typename T >
constexpr T SA::Maths::Cos (Rad< T > _in) noexcept
 Compute the cosine of the input.
 
template<typename T >
constexpr Rad< TSA::Maths::ACos (T _in) noexcept
 Compute the arc-cosine of the input.
 

Detailed Description

Cosinus method implementation.

Function Documentation

◆ ACos()

template<typename T >
constexpr Rad< T > SA::Maths::ACos ( T _in)
constexprnoexcept

Compute the arc-cosine of the input.

Parameters
[in]_inInput to compute arc-cosine.
Returns
Arc-cosine in radian of the input.

◆ Cos()

template<typename T >
constexpr T SA::Maths::Cos ( Rad< T > _in)
constexprnoexcept

Compute the cosine of the input.

Parameters
[in]_inInput in radian to compute cosine.
Returns
Cosine of the input.