|
Ensign
Low-rank framework for multi-core CPUs and GPUs
|
Converts between vector indices and combined linear indices. More...
Go to the source code of this file.
Namespaces | |
| namespace | Ensign |
| Core namespace for Ensign's numerical algorithms and data structures. | |
| namespace | Ensign::IndexFunction |
| Conversion and iteration helpers for multidimensional indices. | |
Functions | |
| template<class InputIt , class InputItInt > | |
| Index | Ensign::IndexFunction::vec_index_to_comb_index (InputIt first, InputIt last, InputItInt first_int) |
| template<class InputItInt , class OutputIt > | |
| void | Ensign::IndexFunction::comb_index_to_vec_index (Index comb_index, InputItInt first, OutputIt d_first, OutputIt d_last) |
| template<class InputIt , class OutputIt > | |
| void | Ensign::IndexFunction::incr_vec_index (InputIt first, OutputIt d_first, OutputIt d_last) |
Converts between vector indices and combined linear indices.
Definition in file index.hpp.