xshape¶
Defined in xtensor/xshape.hpp
- group xt_xshape
Typedefs
-
using promote_shape_t = typename promote_shape<S...>::type¶
-
using promote_strides_t = typename promote_strides<S...>::type¶
-
using index_from_shape_t = typename index_from_shape<S>::type¶
-
using filter_fixed_shape_t = typename filter_fixed_shape<S>::type¶
Functions
-
template<layout_type L, class S>
struct select_layout¶ - #include <xshape.hpp>
Compute a layout based on a layout and a shape type.
The main functionality of this function is that it reduces vectors to
xt::layout_type::any
so that assigning a row major 1D container to another row_major container becomes free.
-
using promote_shape_t = typename promote_shape<S...>::type¶