constexpr index_type stride( rank_type r ) const; | (since C++23) |
Returns the stride of the layout mapping map_
in r
th dimension. Equivalent to return map_.stride(r);
.
r | - | the index of the dimension |
The stride.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/mdspan/stride