TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
group_indices.hpp File Reference
#include "./layout/idx_map.hpp"
#include "./layout/permutation.hpp"
#include "./stdutil/array.hpp"
#include "./traits.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <numeric>
#include <stdexcept>

Detailed Description

Provides functions used in nda::group_indices_view.

Definition in file group_indices.hpp.

Go to the source code of this file.

Classes

struct  nda::idx_group_t< Is >
 A group of indices. More...
 

Functions

template<int Rank, uint64_t StaticExtents, uint64_t StrideOrder, layout_prop_e LayoutProp, typename... IdxGrps>
auto nda::group_indices_layout (idx_map< Rank, StaticExtents, StrideOrder, LayoutProp > const &idxm, IdxGrps...)
 Given an nda::idx_map and a partition of its indices, return a new nda::idx_map with the grouped indices.
 

Variables

template<int... Is>
idx_group_t< Is... > nda::idx_group = {}
 Variable template for an nda::idx_group_t.