TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
Provides definitions of various layout policies.
Definition in file policies.hpp.
Go to the source code of this file.
Classes | |
struct | nda::basic_layout< StaticExtents, StrideOrder, LayoutProp > |
Generic layout policy with arbitrary order. More... | |
struct | nda::C_layout |
Contiguous layout policy with C-order (row-major order). More... | |
struct | nda::C_stride_layout |
Strided (non-contiguous) layout policy with C-order (row-major order). More... | |
struct | nda::F_layout |
Contiguous layout policy with Fortran-order (column-major order). More... | |
struct | nda::F_stride_layout |
Strided (non-contiguous) layout policy with Fortran-order (column-major order). More... | |
Typedefs | |
template<uint64_t StrideOrder> | |
using | nda::contiguous_layout_with_stride_order = basic_layout<0, StrideOrder, layout_prop_e::contiguous> |
Contiguous layout policy with arbitrary stride order. | |
template<int Rank, uint64_t StrideOrder> | |
using | nda::get_contiguous_layout_policy |
Get the contiguous layout policy for a given rank and stride order. | |