Skip to content

strata::Strided

Part of Order and layout.

template <Extent... Strides>
struct strata::Strided;

A strided layout policy, one stride per axis.

Strided<Dyn, Dyn> fits any 2-D view, Strided<Dyn, 1> one whose inner stride is known to be 1.

Template parameters

Name Description
Strides One per axis: a number for a static stride, Dyn for a dynamic one.

Members

mapping

template <shape_like S>
using strata::Strided< Strides >::mapping = detail::strided_mapping_of<S, Strides...>::type

The index to offset map for shape S.