Function rawtriangle¶
function rawtriangle(const T1 &) dsp¶
template <numeric T1>
KFR_FUNCTION T1 rawtriangle(const T1& x) Triangle wave of a phase ramp in [0, 1) cycles.
| x | Phase in normalized cycles ([0, 1) corresponds to one full cycle). |
| Triangle value in [-1, 1]. |
Fully qualified name: kfr::rawtriangle(const T1 &)
Declared at dsp/oscillators.hpp:312
Function rawtriangle¶
function rawtriangle(E1 &&) dsp¶
template <expression_argument E1>
KFR_FUNCTION expression_function<fn::rawtriangle, E1> rawtriangle(E1&& x) Expression overload of rawtriangle ; applies element-wise to an expression.
| x | Phase expression in normalized cycles ([0, 1) corresponds to one full cycle). |
| Lazily-evaluated expression producing triangle values in [-1, 1]. |
Fully qualified name: kfr::rawtriangle(E1 &&)
Declared at dsp/oscillators.hpp:322
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.