Function truncate¶
function truncate(Arg &&, std::type_identity_t<shape<Dims>>) base¶
template <expression_argument Arg, index_t Dims = expression_dims<Arg>>
KFR_INTRINSIC expression_slice<Arg> truncate(Arg&& arg, std::type_identity_t<shape<Dims>> size) Creates an expression that exposes arg starting at the origin with the given size.
| arg | the input expression |
| size | size of the truncated region |
an expression_slice |
Fully qualified name: kfr::truncate(Arg &&, std::type_identity_t<shape<Dims>>)
Declared at base/basic_expressions.hpp:260
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.