Function arange¶
function arange(T, T, T, cbool_t<truncated>) base¶
template <typename T, bool precise = false, bool truncated = false, typename Tout = ftype<T>>
KFR_INTRINSIC expression_linspace<Tout, true> arange(T start, T stop, T step = 1, cbool_t<truncated> = { … } Creates an expression that returns values spanning [start, stop) with the given step.
| T | value type |
| precise | unused, kept for backwards compatibility |
| truncated | always true for the result of arange |
| start | first value |
| stop | end value (exclusive) |
| step | step between consecutive values |
an expression_linspace of exactly the right number of elements |
Fully qualified name: kfr::arange(T, T, T, cbool_t<truncated>)
Declared at base/basic_expressions.hpp:1012
Function arange¶
function arange(T, cbool_t<truncated>) base¶
template <typename T, bool precise = false, bool truncated = false, typename Tout = ftype<T>>
KFR_INTRINSIC expression_linspace<Tout, true> arange(T stop, cbool_t<truncated> = { … } Creates an expression that returns integer values spanning [0, stop) with step 1.
| T | value type |
| precise | unused, kept for backwards compatibility |
| truncated | always true for the result of arange |
| stop | end value (exclusive) |
an expression_linspace containing the integers [0, stop) |
Fully qualified name: kfr::arange(T, cbool_t<truncated>)
Declared at base/basic_expressions.hpp:1032
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.