Skip to content

Class expression_reshape

class expression_reshape<Arg, OutDims> base

template <typename Arg, index_t OutDims>
struct expression_reshape : public expression_with_arguments<Arg> { … }

Expression that exposes the same data as another expression with a different shape.

Elements are addressed by flattening the output index into the input's flat layout and unflattening it back into the input's shape.

Template parameters
Arg wrapped expression type
OutDims number of dimensions of the result

typedef ArgTraits

using ArgTraits = typename expression_with_arguments<Arg>::first_arg_traits

Fully qualified name: kfr::expression_reshape<Arg, OutDims>::ArgTraits

variable in_shape

shape<ArgTraits::dims> in_shape

Fully qualified name: kfr::expression_reshape<Arg, OutDims>::in_shape

variable out_shape

shape<OutDims> out_shape

Fully qualified name: kfr::expression_reshape<Arg, OutDims>::out_shape

constructor expression_reshape<Arg, OutDims>(Arg &&, const shape<OutDims> &)

Fully qualified name: kfr::expression_reshape<Arg, OutDims>::expression_reshape<Arg, OutDims>(Arg &&, const shape<OutDims> &)

Fully qualified name: kfr::expression_reshape<Arg, OutDims>

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