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

Tangent 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::Tan (Rad< T > _in) noexcept
 Compute the tangent of the input.
 
template<typename T >
constexpr Rad< TSA::Maths::ATan (T _in) noexcept
 Compute the arc-tangent of the input.
 
template<typename T >
constexpr Rad< TSA::Maths::ATan2 (T _y, T _x) noexcept
 Compute the arc-tangent 2 of _y / _x.
 

Detailed Description

Tangent method implementation.

Function Documentation

◆ ATan()

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

Compute the arc-tangent of the input.

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

◆ ATan2()

template<typename T >
constexpr Rad< T > SA::Maths::ATan2 ( T _y,
T _x )
constexprnoexcept

Compute the arc-tangent 2 of _y / _x.

Parameters
[in]_yY term to compute arc-tangent 2.
[in]_xX term to compute arc-tangent 2.
Returns
Arc-tangent 2 in radian of the inputs.

◆ Tan()

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

Compute the tangent of the input.

Parameters
[in]_inInput in radian to compute tangent.
Returns
Tangent of the input.