SUNphi
1.0
|
Header file for the definition of an indexer. More...
Go to the source code of this file.
Classes | |
struct | SUNphi::_Indexer< IDyn, T, class > |
struct | SUNphi::_Indexer< IDyn, TensKind< H, Oth... > > |
Functions | |
template<class TK , size_t NDynamic, class... Args> | |
static constexpr int | SUNphi::index (const DynSizes< NDynamic > &dynSizes, const Args &...args) |
Header file for the definition of an indexer.
Definition in file Indexer.hpp.
|
static |
Index function for a TensKind
Wraps the call to the Indexer class method The index is built in this way. Let us assume three component case
this is changed into a more homogeneous
so that every component needs to perform the following operation
where ext
is the result of the calculation for the outer component. Starting from 0, the calculation ends when no more component is present (terminating case).
dynSizes | Sizes of the dynamical components |
args | Components index |
Definition at line 139 of file Indexer.hpp.