|
TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include <nda/layout/policies.hpp>
Generic layout policy with arbitrary order.
| StaticExtent | Compile-time known shape. |
| StrideOrder | Order in which the dimensions are stored in memory. |
| LayoutProp | Compile-time guarantees about the layout of the data in memory. |
Definition at line 115 of file policies.hpp.
Public Types | |
| using | contiguous_t = basic_layout<StaticExtents, StrideOrder, layout_prop_e::contiguous> |
| The same layout policy, but with guarantee of contiguity. | |
| template<int Rank> | |
| using | mapping = idx_map<Rank, StaticExtents, StrideOrder, LayoutProp> |
| Multi-dimensional to flat index mapping. | |
| using | with_lowest_guarantee_t = basic_layout<StaticExtents, StrideOrder, layout_prop_e::none> |
| The same layout policy, but with no guarantee of contiguity. | |