Skip to content

class expression_discard<Tin, Dims> expressions

template <typename Tin, index_t Dims>
struct expression_discard : public expression_traits_defaults { … }

typedef value_type

using value_type             = Tin

Defined at base/expression.hpp:831

variable dims

constexpr static size_t dims = Dims

Defined at base/expression.hpp:832

function get_shape(const expression_discard<Tin, Dims> &)

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

Defined at base/expression.hpp:833

function get_shape()

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

Defined at base/expression.hpp:834

function set_elements(const expression_discard<Tin, Dims> &, shape<Dims>, axis_params<VecAxis, N>, const std::type_identity_t<vec<Tin, N>> &)

template <size_t N, index_t VecAxis>
friend KFR_INTRINSIC void set_elements(const expression_discard& self, shape<Dims>,
                                       axis_params<VecAxis, N>,
                                       const std::type_identity_t<vec<Tin, N>>& x)

Defined at base/expression.hpp:837

Defined at base/expression.hpp:829