trigonometric¶
tan function (generic::tan)¶
template <numeric T1> flt_type<T1> tan(const T1 &x)
Computes the tangent of the input (in radians).
Template param T1 The type of the input.
Param x Input value in radians.
Returns The tangent of the input.
tandeg function (generic::tandeg)¶
template <numeric T1> flt_type<T1> tandeg(const T1 &x)
Computes the tangent of the input (in degrees).
Template param T1 The type of the input.
Param x Input value in degrees.
Returns The tangent of the input.
atan function (generic::atan)¶
template <numeric T1> flt_type<T1> atan(const T1 &x)
Returns the arc tangent of x. The returned angle is in the range \(-\pi/2\) through \(\pi/2\) .
atandeg function (generic::atandeg)¶
template <numeric T1> flt_type<T1> atandeg(const T1 &x)
Returns the arc tangent of the x, expressed in degrees. The returned angle is in the range -90 through 90.
atan2 function (generic::atan2)¶
template <numeric T1, numeric T2>
std::common_type_t<T1, T2> atan2(const T1 &x, const T2 &y)
Returns the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
atan2deg function (generic::atan2deg)¶
template <numeric T1, numeric T2>
std::common_type_t<T1, T2> atan2deg(const T1 &x,
                                    const T2 &y)
Returns the arc tangent of y/x (expressed in degrees) using the signs of arguments to determine the correct quadrant.
asin function (generic::asin)¶
template <numeric T1> flt_type<T1> asin(const T1 &x)
Returns the arc sine of x. The returned angle is in the range \(-\pi/2\) through \(\pi/2\) .
acos function (generic::acos)¶
template <numeric T1> flt_type<T1> acos(const T1 &x)
Returns the arc cosine of x. The returned angle is in the range 0 through \(\pi\) .
sin function (generic::sin)¶
template <numeric T1> flt_type<T1> sin(const T1 &x)
Returns the trigonometric sine of x.
cos function (generic::cos)¶
template <numeric T1> flt_type<T1> cos(const T1 &x)
Returns the trigonometric cosine of x.
fastsin function (generic::fastsin)¶
template <numeric T1> flt_type<T1> fastsin(const T1 &x)
Returns an approximation of the trigonometric sine of x.
fastcos function (generic::fastcos)¶
template <numeric T1> flt_type<T1> fastcos(const T1 &x)
Returns an approximation of the trigonometric cosine of x.
sincos function (generic::sincos)¶
template <numeric T1> flt_type<T1> sincos(const T1 &x)
Returns the trigonometric sine of the even elements of the x and cosine of the odd elements. x must be a vector.
cossin function (generic::cossin)¶
template <numeric T1> flt_type<T1> cossin(const T1 &x)
Returns the trigonometric cosine of the even elements of the x and sine of the odd elements. x must be a vector.
sindeg function (generic::sindeg)¶
template <numeric T1> flt_type<T1> sindeg(const T1 &x)
Returns the trigonometric sine of the x (expressed in degrees).
cosdeg function (generic::cosdeg)¶
template <numeric T1> flt_type<T1> cosdeg(const T1 &x)
Returns the trigonometric cosine of the x (expressed in degrees).
fastsindeg function (generic::fastsindeg)¶
template <numeric T1> flt_type<T1> fastsindeg(const T1 &x)
Returns an approximation of the trigonometric sine of the x (expressed in degrees).
fastcosdeg function (generic::fastcosdeg)¶
template <numeric T1> flt_type<T1> fastcosdeg(const T1 &x)
Returns an approximation of the trigonometric cosine of the x (expressed in degrees).
sincosdeg function (generic::sincosdeg)¶
template <numeric T1> flt_type<T1> sincosdeg(const T1 &x)
Returns the trigonometric sine of the even elements of the x and cosine of the odd elements. x must be a vector and expressed in degrees.
cossindeg function (generic::cossindeg)¶
template <numeric T1> flt_type<T1> cossindeg(const T1 &x)
Returns the trigonometric cosine of the even elements of the x and sine of the odd elements. x must be a vector and expressed in degrees.
sinc function (generic::sinc)¶
template <numeric T1> flt_type<T1> sinc(const T1 &x)
Returns the sinc function of x.
sin2x function (generic::sin2x)¶
template <typename T> T sin2x(const T &sinx, const T &cosx)
Returns the trigonometric sine of the angle 2x using sin(x) and cos(x).
sin3x function (generic::sin3x)¶
template <typename T> T sin3x(const T &sinx, const T &cosx)
Returns the trigonometric sine of the angle 3x using already computed sin(x) and cos(x).
cos2x function (generic::cos2x)¶
template <typename T> T cos2x(const T &sinx, const T &cosx)
Returns the trigonometric cosine of the angle 2x using already computed sin(x) and cos(x).
cos3x function (generic::cos3x)¶
template <typename T> T cos3x(const T &sinx, const T &cosx)
Returns the trigonometric cosine of the angle 3x using already computed sin(x) and cos(x).
Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/