Class expression_unpack¶
class expression_unpack<E> base¶
template <typename... E>
struct expression_unpack : expression_with_arguments<E...>, expression_traits_defaults { … } Expression that writes a single vector-valued input into several output expressions.
| E | wrapped output expression types |
variable count ¶
constexpr static size_t count = sizeof...(E) Fully qualified name: kfr::expression_unpack<E>::count
Declared at base/basic_expressions.hpp:1251
typedef first_arg_traits ¶
using first_arg_traits = typename expression_with_arguments<E...>::first_arg_traits Fully qualified name: kfr::expression_unpack<E>::first_arg_traits
Declared at base/basic_expressions.hpp:1253
variable dims ¶
constexpr static index_t dims = first_arg_traits::dims Fully qualified name: kfr::expression_unpack<E>::dims
Declared at base/basic_expressions.hpp:1255
typedef first_value_type ¶
using first_value_type = typename first_arg_traits::value_type Fully qualified name: kfr::expression_unpack<E>::first_value_type
Declared at base/basic_expressions.hpp:1256
typedef value_type ¶
using value_type = vec<first_value_type, count> Fully qualified name: kfr::expression_unpack<E>::value_type
Declared at base/basic_expressions.hpp:1258
function get_shape(const expression_unpack<E...> &) ¶
constexpr static shape<dims> get_shape(const expression_unpack& self) { … } Fully qualified name: kfr::expression_unpack<E>::get_shape(const expression_unpack<E...> &)
Declared at base/basic_expressions.hpp:1263
function get_shape() ¶
constexpr static shape<dims> get_shape() { … } Fully qualified name: kfr::expression_unpack<E>::get_shape()
Declared at base/basic_expressions.hpp:1267
constructor expression_unpack<E...>(E &&...) ¶
expression_unpack(E&&... e) Fully qualified name: kfr::expression_unpack<E>::expression_unpack<E...>(E &&...)
Declared at base/basic_expressions.hpp:1269
function set_elements(expression_unpack<E...> &, shape<dims>, axis_params<Axis, N>, const std::type_identity_t<vec<value_type, N>> &) ¶
template <index_t Axis, size_t N>
KFR_INTRINSIC friend void set_elements(expression_unpack& self, shape<dims> index,
axis_params<Axis, N> sh,
const std::type_identity_t<vec<value_type, N>>& x) Fully qualified name: kfr::expression_unpack<E>::set_elements(expression_unpack<E...> &, shape<dims>, axis_params<Axis, N>, const std::type_identity_t<vec<value_type, N>> &)
Declared at base/basic_expressions.hpp:1272
function operator=(Input &&) ¶
template <expression_argument Input>
KFR_MEM_INTRINSIC expression_unpack& operator=(Input&& input) Assigns the values of input to all wrapped output expressions.
Fully qualified name: kfr::expression_unpack<E>::operator=(Input &&)
Declared at base/basic_expressions.hpp:1283
Fully qualified name: kfr::expression_unpack<E>
Declared at base/basic_expressions.hpp:1249