TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches

#include <nda/layout/policies.hpp>

Detailed Description

Contiguous layout policy with C-order (row-major order).

The last dimension varies the fastest, the first dimension varies the slowest.

Definition at line 47 of file policies.hpp.

Public Types

using contiguous_t = C_layout
 The same layout policy, but with guarantee of contiguity.
 
template<int Rank>
using mapping = idx_map<Rank, 0, C_stride_order<Rank>, layout_prop_e::contiguous>
 Multi-dimensional to flat index mapping.
 
using with_lowest_guarantee_t = C_stride_layout
 The same layout policy, but with no guarantee of contiguity.
 

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