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 Fortran-order (column-major order).

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

Definition at line 63 of file policies.hpp.

Public Types

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

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