Skip to content

Function sine

function sine(const T1 &) dsp

template <numeric T1>
KFR_FUNCTION T1 sine(const T1& x)

Sine of a phase in radians.

Parameters
x Phase in radians.
Returns
Sine value in [-1, 1].

Fully qualified name: kfr::sine(const T1 &)

Function sine

function sine(E1 &&) dsp

template <expression_argument E1>
KFR_FUNCTION expression_function<fn::sine, E1> sine(E1&& x)

Expression overload of sine ; applies element-wise to an expression.

Parameters
x Phase expression in radians.
Returns
Lazily-evaluated expression producing sine values in [-1, 1].

Fully qualified name: kfr::sine(E1 &&)

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