Function gen_exp2¶
function gen_exp2(T1, T2) base¶
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_exp2<TF> gen_exp2(T1 start, T2 step) Creates an expression that generates values using the following formula:
\\[ x_i = 2^{ start + i \cdot step } \\]
| T1 | Type of the starting exponent. |
| T2 | Type of the step value. |
| start | Exponent of the first value to produce. |
| step | Increment added to the exponent between successive values. |
| Base-2 exponential generator expression. |
Fully qualified name: kfr::gen_exp2(T1, T2)
Declared at base/generators.hpp:529
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.