![]() |
Mackey
V3.3
A C++ library for computing RO(G) graded homology
|
Contains classes for generating permutations, combinations and a factory for such classes. More...
#include <algorithm>
#include <vector>
#include <array>
#include "impl/Generators.ipp"
Go to the source code of this file.
Classes | |
class | FactoryGenerator< spec_t, gen_t > |
Prototype for coroutine-like iterators that generate elements such as combinations. More... | |
class | PermutationGenerator< T > |
Generates all permutations on a number of letters. More... | |
class | PermutationGenerator< T >::ConstIterator |
Constant iterator that is used in a ranged for loop to generate the permutations. More... | |
class | CombinationGenerator< T > |
Generates all combinations on a number of letters making a number of choices. More... | |
class | CombinationGenerator< T >::ConstIterator |
Constant iterator that is used in a ranged for loop to generate the combinations. More... | |
Namespaces | |
mackey | |
Everything in this library is under this namespace. | |
Functions | |
template<class T > | |
std::vector< std::vector< T > > | all_permutations (T n) |
Returns vector of all permutations on n letters. More... | |
template<class T > | |
std::vector< std::vector< T > > | all_combinations (T n, T m) |
Returns vector of all combinations on n letters choosing m many. More... | |
Contains classes for generating permutations, combinations and a factory for such classes.