Skip to content

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.

Template parameters
E wrapped output expression types

variable count

constexpr static size_t count = sizeof...(E)

Fully qualified name: kfr::expression_unpack<E>::count

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

variable dims

constexpr static index_t dims = first_arg_traits::dims

Fully qualified name: kfr::expression_unpack<E>::dims

typedef first_value_type

using first_value_type        = typename first_arg_traits::value_type

Fully qualified name: kfr::expression_unpack<E>::first_value_type

typedef value_type

using value_type = vec<first_value_type, count>

Fully qualified name: kfr::expression_unpack<E>::value_type

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...> &)

function get_shape()

constexpr static shape<dims> get_shape() { … }

Fully qualified name: kfr::expression_unpack<E>::get_shape()

constructor expression_unpack<E...>(E &&...)

expression_unpack(E&&... e)

Fully qualified name: kfr::expression_unpack<E>::expression_unpack<E...>(E &&...)

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>> &)

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 &&)

Fully qualified name: kfr::expression_unpack<E>

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.