TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
nda::basic_layout_str< StaticExtents, StrideOrder, LayoutProp >

#include <nda/layout/rect_str.hpp>

Detailed Description

template<uint64_t StaticExtents, uint64_t StrideOrder, layout_prop_e LayoutProp>
struct nda::basic_layout_str< StaticExtents, StrideOrder, LayoutProp >

Generic layout policy with arbitrary order and possible string indices.

Template Parameters
StaticExtentCompile-time known shape (zero if dynamic).
StrideOrderOrder in which the dimensions are stored in memory.
LayoutPropCompile-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.
 

The documentation for this struct was generated from the following file: