mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
24 lines
653 B
C++
24 lines
653 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <tc/group.hpp>
|
|
|
|
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<unsigned int> &mults);
|
|
|
|
Group coxeter(const std::string &symbol);
|
|
|
|
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<unsigned int> values = {{args...}};
|
|
return vcoxeter(symbol, values);
|
|
}
|
|
}
|