Namespaces
Variants
Actions

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::stride

From cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
std::mdspan
 
constexpr index_type stride( rank_type r ) const;
(since C++23)

Returns the stride of the layout mapping map_ in rth dimension. Equivalent to return map_.stride(r);.

[edit] Parameters

r - the index of the dimension

[edit] Return value

The stride.

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

This section is incomplete
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/stride&oldid=161930"

AltStyle によって変換されたページ (->オリジナル) /