Tensor
A C++ expression template library for computations on N dimensional tensors
|
Classes | |
struct | MapToIndexStatic |
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... | |
struct | MapToIndexStatic< DimSizes > |
struct | MapToIndexStatic< DimSizes, IF, IR...> |
Functions | |
template<size_t Iteration, typename Container > | |
size_t | MapToIndexDynamic (const Container &dim_sizes, size_t current_offset) |
template<size_t Iteration, typename Container , typename IF , typename... IR> | |
size_t | MapToIndexDynamic (const Container &dim_sizes, size_t current_offset, IF index_first, IR...indices_rest) |
size_t ftl::detail::MapToIndexDynamic | ( | const Container & | dim_sizes, |
size_t | current_offset | ||
) |
size_t ftl::detail::MapToIndexDynamic | ( | const Container & | dim_sizes, |
size_t | current_offset, | ||
IF | index_first, | ||
IR... | indices_rest | ||
) |