omc::Permutation Class Reference
List of all members.
Constructor & Destructor Documentation
omc::Permutation::Permutation |
( |
size_t |
n |
) |
[inline] |
Constructor: identity permutation of size n.
omc::Permutation::Permutation |
( |
std::vector< index_t > & |
Perm |
) |
[inline] |
Constructor: permutation given by a vector.
Member Function Documentation
bool omc::Permutation::next |
( |
|
) |
[inline] |
Generate the next lexicographically greater permutation.
index_t omc::Permutation::operator() |
( |
index_t |
i |
) |
const [inline] |
index_t omc::Permutation::operator[] |
( |
index_t |
i |
) |
const [inline] |
index_t & omc::Permutation::operator[] |
( |
index_t |
i |
) |
[inline] |
The documentation for this class was generated from the following file: