CrossVector Iterator |
Classes | |
struct | cross_iterator |
Iterator of cross_vector. More... | |
struct | deref< cross_iterator< VecOfVecs, TypeGen, K > > |
Dereferences a cross-vector iterator
Creates a vector of the sizes of each type vector in VecOfVecs, then uses it as a basis to represent the iterator's position K as a vector of indices. Extracts the corresponding type of each input vector and passes the element types to the type generation function, which returns the dereferenced type. More... | |
struct | next< cross_iterator< VecOfVecs, TypeGen, K > > |
Increments a cross-vector iterator. More... | |
struct | prior< cross_iterator< VecOfVecs, TypeGen, K > > |
Decrements a cross-vector iterator. More... | |
struct | advance< cross_iterator< VecOfVecs, TypeGen, K >, Distance > |
Advances a cross-vector iterator. More... | |
struct | distance< cross_iterator< VecOfVecs, TypeGen, K1 >, cross_iterator< VecOfVecs, TypeGen, K2 > > |
Computes the distance between two cross-vector iterator-s. More... | |
class | select_subvector_c |
Converts the basis of a number
Given a non-negative integer N, and a vector of vectors VecOfVecs, returns a vector of size size<VecOfVecs>, such that the i-th element of the returned vector is the j-th element of the i-th vector in VecOfVecs, where the j-s comprise the representation of N as a number in which each digit has a different base - the size of the corresponding vector in VecOfVecs. More... |