add complete named group list

This commit is contained in:
David Allemang
2022-09-23 16:53:59 -04:00
parent 26e0578421
commit c9cad8be8d
4 changed files with 100 additions and 29 deletions

View File

@@ -9,15 +9,15 @@ namespace tc {
* Construct a group from a (simplified) Schlafli Symbol of the form [a, b, ..., c]
* @param mults: The sequence of multiplicites between adjacent generators.
*/
Group schlafli(const std::vector<int> &mults);
Group schlafli(const std::vector<unsigned int> &mults);
Group coxeter(const std::string &symbol);
Group vcoxeter(const std::string &symbol, std::vector<int> &values);
Group vcoxeter(const std::string &symbol, std::vector<unsigned int> &values);
template<typename ...Args>
Group coxeter(const std::string &symbol, const Args &... args) {
std::vector<int> values = {{args...}};
std::vector<unsigned int> values = {{args...}};
return vcoxeter(symbol, values);
}
}