CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
index_pack.h File Reference

Index pack declarations. More...

#include "base/base.h"
#include "xindex.h"

Go to the source code of this file.

Classes

class  CNORXZ::SPack< Indices >
 
class  CNORXZ::DPack
 

Namespaces

namespace  CNORXZ
 

Functions

template<class... Indices>
constexpr decltype(autoCNORXZ::spack (const Indices &... inds)
 
template<class... Indices>
constexpr decltype(autoCNORXZ::spackp (const Sptr< Indices > &... inds)
 
template<class... Indices>
DPack CNORXZ::dpack (const Indices &... inds)
 
template<class... Indices>
DPack CNORXZ::dpackp (const Sptr< Indices > &... inds)
 

Detailed Description

Index pack declarations.

Index packs are sets of indices. In contrast to multi-indices like (G)MIndex or YIndex, there is no format that can be used to determine a linearized memory position. Hence, only a lexicographic position is well defined. Nevertheless, a function pos() is implemented, which just returns the same value as lex().

Copyright (c) 2024 Christian Zimmermann. All rights reserved. Mail: chize.nosp@m.ta@f.nosp@m.3l.de

Definition in file index_pack.h.