Skip to content

Function sinenorm

function sinenorm(const T1 &) dsp

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

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

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

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

Function sinenorm

function sinenorm(E1 &&) dsp

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

Expression overload of sinenorm ; 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::sinenorm(E1 &&)

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