Reorders input Indices according to provided traversal order, decrements each by corresponding value in first and then multiplies by corresponding value in plane_sizes, accumulating the results into a linearized index.
More...
Static Public Member Functions | |
| template<typename Tuple , typename Index , typename... Indices> | |
| static size_t | apply (Tuple const &first, Tuple const &plane_sizes, Index &&i, Indices &&... is) |
Reorders input Indices according to provided traversal order, decrements each by corresponding value in first and then multiplies by corresponding value in plane_sizes, accumulating the results into a linearized index.
1.8.13