Spec-Zone.ru › C++

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

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

stride
obtains the stride along the specified dimension
(public member function)
stride
obtains the stride along the specified dimension
(public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/container/mdspan/layout_stride/mapping/strides

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API