Tensor
A C++ expression template library for computations on N dimensional tensors
|
Takes a list of indices and a list of dimension sizes, and determines the offset of an element given by the indices, in contiguous memory. More...
#include <mapper.hpp>
Takes a list of indices and a list of dimension sizes, and determines the offset of an element given by the indices, in contiguous memory.
DimSizes | The sizes of each of the dimensions |
Indices | The value of the element in each of the indices |