|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LayoutMappingPolicy is a type used to specify layout policy ofstd::mdspan. It provides a member alias template whose specialization is aLayoutMapping type.
Contents |
A typeMP satisfiesLayoutMappingPolicy if the type requirements shown below are valid:
| Type | Definition |
MP | a layout mapping policy class |
M | a layout mapping class |
E | a specialization ofstd::extents |
M that satisfiesLayoutMapping.MP.E.The following standard library types satisfyLayoutMappingPolicy requirements:
(C++23) | column-major multidimensional array layout mapping policy; leftmost extent has stride1(class)[edit] |
(C++23) | row-major multidimensional array layout mapping policy; rightmost extent has stride1(class)[edit] |
(C++23) | a layout mapping policy with user-defined strides (class)[edit] |
(C++26) | column-major layout mapping policy with padding stride that can be greater than or equal to the leftmost extent (class template)[edit] |
(C++26) | row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent (class template)[edit] |
Defined in namespace std::linalg | |
(C++26) | std::mdspan layout mapping policy that swaps the rightmost two indices, extents, and strides of any unique layout mapping policy (class template)[edit] |
(C++26) | std::mdspan layout mapping policy that represents a square matrix that stores only the entries in one triangle, in a packed contiguous format (class template)[edit] |