Skip to content

function tan(const T1 &) trigonometric

template <numeric T1>
KFR_FUNCTION flt_type<T1> tan(const T1& x)

Computes the tangent of the input (in radians).

Template parameters
T1 The type of the input.
Parameters
x Input value in radians.
Returns
The tangent of the input.

Defined at math/tan.hpp:43