Namespaces
Variants

std::layout_stride::mapping<Extents>::strides

From cppreference.com
 
 
 
 
 
constexpr std::array<index_type, rank_> strides() const noexcept;
(since C++23)

Returns an array of strides of the mapping. Equivalent to return strides_;.

Parameters

(none)

Return value

Array of strides

Example

See also

obtains the stride along the specified dimension
(public member function) [edit]
obtains the stride along the specified dimension
(public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) [edit]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.