| Tensor
    A C++ expression template library for computations on N dimensional tensors | 
Interface which provides static mapping (uses TMP to determine some of the mapping variables at compile time for improved performance) from indices to a single offset index and from an index offset to a list of indices. More...
#include <mapper.hpp>
| Static Public Member Functions | |
| template<typename DimSizes , typename IF , typename... IR> | |
| static constexpr size_t | indices_to_index (IF &&index_first, IR &&...indices_rest) | 
| Maps any number of indices which represent the location of an index in a multi-dimensional space, to a singe index offset in the contiguous memory which is representing that multi-dimensional space.  More... | |
Interface which provides static mapping (uses TMP to determine some of the mapping variables at compile time for improved performance) from indices to a single offset index and from an index offset to a list of indices.
| 
 | inlinestatic | 
Maps any number of indices which represent the location of an index in a multi-dimensional space, to a singe index offset in the contiguous memory which is representing that multi-dimensional space.
| [in] | index_first | The index of the element in the first dimension | 
| [in] | indices_rest | The indices of the element in the other dimensions | 
| DimSizes | The list of dimension sizes for the multi-dimensional space | 
| IF | The type of index_first | 
| IR | The types of indices_rest | 
 1.8.9.1
 1.8.9.1