1
0

Introduce complex solvers

This commit is contained in:
David Allemang
2021-11-12 15:06:29 -05:00
parent fa13493569
commit bdecf40345
10 changed files with 363 additions and 23 deletions

17
examples/complex.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <iostream>
#include <tc/complex.hpp>
#include <tc/groups.hpp>
int main() {
tc::Symbol symbol(3);
symbol << 5, 3, 3;
auto group = tc::schlafli(symbol);
constexpr int N = 4;
std::vector<tc::Symbol> combos = tc::combinations(group.gens, N - 1);
auto data = tc::merge<N>(tc::hull<4>(group, combos, {}));
std::cout << data.size() << std::endl;
return 0;
}