https://hal.archives-ouvertes.fr/hal-02398953
Tip revision: c33910a29d53f4e137c225b21a8d59e43327cbf9 authored by Software Heritage on 08 December 2019, 12:26:32 UTC
hal: Deposit 351 in collection hal
hal: Deposit 351 in collection hal
Tip revision: c33910a
FiniteLinearGroup.h
#ifndef FINITELINEARGROUP_H
#define FINITELINEARGROUP_H
#include <iostream>
#include <giac/config.h>
#include <giac/giac.h>
#include <string>
#include <map>
#include <algorithm>
using namespace std;
using namespace giac;
#include "CMfield.h"
#include "Util.h"
extern context ct;
class FiniteLinearGroup
{
public:
CMfield K;
FiniteLinearGroup(CMfield k);
vector<gen> elements;
int oldnumber;
bool isgroup;
void addElements(vector<gen> list);
void addElement(gen M);
bool isNew(gen M);
bool isInList(gen M,vector<gen> list);
void expand();
void expandToGroup();
bool studyReflectionSubgroup(int &o);
bool identify_root_of_unity(gen po, int o, gen &res);
};
#endif