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

#include <nda/layout/policies.hpp>

Detailed Description

Strided (non-contiguous) layout policy with C-order (row-major order).

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

Definition at line 79 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::none>
 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: