Skip to content

class expression_unpack<E> expressions

template <typename... E>
struct expression_unpack : expression_with_arguments<E...>, expression_traits_defaults { … }

variable count

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

Defined at base/basic_expressions.hpp:934

typedef first_arg_traits

using first_arg_traits = typename expression_with_arguments<E...>::first_arg_traits

Defined at base/basic_expressions.hpp:936

variable dims

constexpr static index_t dims = first_arg_traits::dims

Defined at base/basic_expressions.hpp:938

typedef first_value_type

using first_value_type        = typename first_arg_traits::value_type

Defined at base/basic_expressions.hpp:939

typedef value_type

using value_type = vec<first_value_type, count>

Defined at base/basic_expressions.hpp:941

function get_shape(const expression_unpack<E...> &)

constexpr static shape<dims> get_shape(const expression_unpack& self) { … }

Defined at base/basic_expressions.hpp:946

function get_shape()

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

Defined at base/basic_expressions.hpp:950

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

expression_unpack(E&&... e)

Defined at base/basic_expressions.hpp:952

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)

Defined at base/basic_expressions.hpp:955

function operator=(Input &&)

template <expression_argument Input>
KFR_MEM_INTRINSIC expression_unpack& operator=(Input&& input)

Defined at base/basic_expressions.hpp:963

Defined at base/basic_expressions.hpp:932