Skip to content

Function cos2x

function cos2x(const T &, const T &) math

template <typename T>
KFR_INTRINSIC T cos2x(const T& sinx, const T& cosx)

Returns cos(2x) from already computed sin(x) and cos(x).

Template parameters
T Scalar or vector type.
Parameters
sinx Value of sin(x).
cosx Value of cos(x).
Returns
cos(2x).

Fully qualified name: kfr::cos2x(const T &, const T &)

Declared at math/sin_cos.hpp:268

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.