Function square¶
function square(const T1 &) dsp¶
template <numeric T1>
KFR_FUNCTION T1 square(const T1& x) Square wave of a phase in radians.
| x | Phase in radians. |
| +1 or -1. |
Fully qualified name: kfr::square(const T1 &)
Declared at dsp/oscillators.hpp:268
Function square¶
function square(E1 &&) dsp¶
template <expression_argument E1>
KFR_FUNCTION expression_function<fn::square, E1> square(E1&& x) Expression overload of square ; applies element-wise to an expression.
| x | Phase expression in radians. |
| Lazily-evaluated expression producing +1 or -1. |
Fully qualified name: kfr::square(E1 &&)
Declared at dsp/oscillators.hpp:278
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.