GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#ifdef __cplusplus1extern "C" {2#endif345#ifndef _TSUBGROUPS_H_6#define _TSUBGROUPS_H_78#ifndef _CARAT_TYPEDEF_H_9#include"typedef.h"10#endif1112#ifndef __GMP_H__13#include"gmp.h"14#endif1516#ifndef _NAME_H_17#include"name.h"18#endif192021typedef struct{22bravais_TYP *R; /* translationengleich maximal subgroup */23bravais_TYP *P; /* point group of R */24int orbitlength; /* length of the orbit */25int pointgrouporder; /* order of P */26} TSubgroup_TYP;2728typedef struct{29char qname[1024]; /* name of the Q-class */30int zname[2]; /* name of the Z-class */31MP_INT aff_name; /* name of the affine class */32matrix_TYP *trafo; /* transformation matrix, conjugating the given group in CARAT rep. */33int order; /* order of the point group */34} CARATname_TYP;3536typedef struct{37matrix_TYP **words; /* subgroupwords */38int word_no; /* number of words */39} TSUB_TYP;404142/* -------------------------------------------------------------- */43#ifdef __STDC__4445TSubgroup_TYP **tsubgroup(bravais_TYP *R,46bravais_TYP *P,47matrix_TYP *pres,48matrix_TYP **gapwords,49int *no,50boolean aflag,51boolean cflag);5253TSubgroup_TYP *ite_gruppe(bravais_TYP *R,54bravais_TYP *P,55bravais_TYP *Rinv,56bravais_TYP *Pinv,57matrix_TYP *mat,58boolean aflag);5960TSubgroup_TYP **tsubgroup_db(bravais_TYP *R,61boolean aflag,62int *anzahl);6364void free_TSubgroup_TYP(TSubgroup_TYP *sbg);6566matrix_TYP **PoaN(bravais_TYP *R,67bravais_TYP *P,68matrix_TYP *pres,69int *anz);7071CARATname_TYP name_fct(bravais_TYP *R,72database *database);7374void free_CARATname_TYP(CARATname_TYP Name);7576bravais_TYP *get_std_rep(char *filename,77CARATname_TYP Name);7879matrix_TYP **get_words(char *pfad,80CARATname_TYP Name,81int aff_class_no,82boolean aflag,83int *anzahl);8485bravais_TYP **tsupergroups(bravais_TYP *R,86int *anzahl);8788/* -------------------------------------------------------------- */89#else9091TSubgroup_TYP **tsubgroup();9293TSubgroup_TYP *ite_gruppe();9495TSubgroup_TYP **tsubgroup_db();9697void free_TSubgroup_TYP();9899matrix_TYP **PoaN();100101void name_fct();102103void free_CARATname_TYP();104105bravais_TYP *get_std_rep();106107matrix_TYP **get_words();108109bravais_TYP **tsupergroups();110111112/* -------------------------------------------------------------- */113#endif114#endif115116#ifdef __cplusplus117}118#endif119120121122