triangle_reflection_complex/enumerate.h

23 lines
677 B
C
Raw Normal View History

#ifndef ENUMERATE_H
#define ENUMERATE_H
#include "mat.h"
#include "coxeter.h"
2022-06-14 13:41:43 +00:00
#include <mps/mps.h>
2022-06-14 12:22:22 +00:00
struct tracedata {
int id;
NUMBER tr;
NUMBER trinv;
};
void enumerate_coxeter_group(group_t *group, mat *gen, mat *matrices, const int *idlist, int nlist);
int enumerate_coxeter_group_traces(group_t *group, mat *gen, struct tracedata **traces_out, const int *idlist, int nlist, int unique);
2022-06-14 12:22:22 +00:00
void enumerate_tracedata_clear(struct tracedata *traces, int n);
2022-06-14 13:41:43 +00:00
int solve_characteristic_polynomial_d(mps_context *solv, mps_monomial_poly *poly, double tr_real, double tr_imag, double trinv_real, double trinv_imag, double *eigenvalues_real, double *eigenvalues_imag);
#endif