Tensor
A C++ expression template library for computations on N dimensional tensors
ftl::detail::MapToIndexStatic< DimSizes, Indices > Struct Template Reference

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>

Detailed Description

template<typename DimSizes, typename... Indices>
struct ftl::detail::MapToIndexStatic< DimSizes, Indices >

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.

Template Parameters
DimSizesThe sizes of each of the dimensions
IndicesThe value of the element in each of the indices

The documentation for this struct was generated from the following file: