Skip to content

Function rawsine

function rawsine(const T1 &) dsp

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

Sine of a phase ramp in [0, 1) cycles.

Parameters
x Phase in normalized cycles ([0, 1) corresponds to one full cycle).
Returns
Sine value in [-1, 1].

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

Function rawsine

function rawsine(E1 &&) dsp

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

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

Parameters
x Phase expression in normalized cycles ([0, 1) corresponds to one full cycle).
Returns
Lazily-evaluated expression producing sine values in [-1, 1].

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

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