Function gen_cossin¶
function gen_cossin(T1, T2) base¶
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_cossin<TF> gen_cossin(T1 start, T2 step) Creates an expression that generates values using the following formula:
\\[ x_i= \begin{cases} \cos(start + i \cdot step), & \text{if } i \text{ is even}\\ \sin(start + i \cdot step), & \text{otherwise} \end{cases} \\]
| T1 | Type of the starting phase. |
| T2 | Type of the step value. |
| start | Starting phase. |
| step | Phase increment between successive values. |
| Interleaved cosine/sine generator expression. |
Fully qualified name: kfr::gen_cossin(T1, T2)
Declared at base/generators.hpp:550
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.