Skip to content

Function sawtooth

function sawtooth(const T1 &) dsp

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

Sawtooth wave of a phase in radians.

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

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

Function sawtooth

function sawtooth(E1 &&) dsp

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

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

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