Skip to content

Function isawtooth

function isawtooth(const T1 &) dsp

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

Inverse (rising) sawtooth wave of a phase in radians.

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

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

Function isawtooth

function isawtooth(E1 &&) dsp

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

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

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

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

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