Namensräume
Varianten
Aktionen

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

Von cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
constexpr index_type stride( rank_type r ) const;
(seit C++23)

Gibt den Schritt für das Layout-Mapping map_ in der r-ten Dimension zurück. Entspricht return map_.stride(r);.

Inhalt

[edit] Parameter

r - der Index der Dimension

[edit] Rückgabewert

Der Schritt.

[edit] Beispiel

[edit] Siehe auch