TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
#include <nda/layout/rect_str.hpp>
Generic layout policy with arbitrary order and possible string indices.
StaticExtent | Compile-time known shape (zero if dynamic). |
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 435 of file rect_str.hpp.
Public Types | |
using | contiguous_t = basic_layout_str<StaticExtents, StrideOrder, layout_prop_e::contiguous> |
The same layout policy, but with guarantee of contiguity. | |
template<int Rank> | |
using | mapping = rect_str<Rank, StaticExtents, StrideOrder, LayoutProp> |
Multi-dimensional to flat index mapping. | |
using | with_lowest_guarantee_t = basic_layout_str<StaticExtents, StrideOrder, layout_prop_e::none> |
The same layout policy, but with no guarantee of contiguity. | |