Function counter¶
function counter(T) base¶
template <typename T = int, typename Tout = T>
KFR_INTRINSIC expression_counter<Tout, 1> counter(T start = 0) Creates a 1-D expression_counter with step 1.
| T | integer value type (defaults to int ) |
| Tout | output value type (defaults to T) |
| start | starting value of the counter |
an expression_counter producing start, start+1, start+2, ... |
Fully qualified name: kfr::counter(T)
Declared at base/basic_expressions.hpp:145
Function counter¶
function counter(T, Arg, Args...) base¶
template <typename T = int, typename Arg = T, typename... Args,
typename Tout = std::common_type_t<T, Arg, Args...>>
KFR_INTRINSIC expression_counter<Tout, 1 + sizeof...(Args)> counter(T start, Arg step, Args... steps) Creates an N-dimensional expression_counter with one step per dimension.
| T | integer value type of start |
| Arg | type of the first step |
| Args | types of the remaining steps |
| Tout | common value type used in the resulting expression |
| start | starting value |
| step | step for the first dimension |
| steps | steps for the remaining dimensions |
an expression_counter |
Fully qualified name: kfr::counter(T, Arg, Args...)
Declared at base/basic_expressions.hpp:166
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.