GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#ifdef __cplusplus1extern "C" {2#endif345#ifndef _ZASSEN_H_6#define _ZASSEN_H_78#ifndef _CARAT_TYPEDEF_H_9#include"typedef.h"10#endif1112int INFO_LEVEL;1314typedef struct {15long last;16long speicher;17long faktor;18long *pointer;} word;192021#ifdef __STDC__222324/**********************************************************************\25| FILE: cobundary.c26\**********************************************************************/2728void coboundary(bravais_TYP *G,29matrix_TYP *C,30matrix_TYP *T);3132/**********************************************************************\33| FILE: cong_solve.c34\**********************************************************************/3536matrix_TYP **cong_solve(matrix_TYP *A);3738/**********************************************************************\39| FILE: convert_cocycle_to_column.c40\**********************************************************************/4142void convert_cocycle_to_column(matrix_TYP **Y,43int number,44int dim,45int gen_no);4647/**********************************************************************\48| FILE: convert_to_cozycle.c49\**********************************************************************/5051extern matrix_TYP *convert_to_cozycle(matrix_TYP *x,52matrix_TYP *cozycle,53matrix_TYP *D);5455/**********************************************************************\56| FILE: put_cocycle.c57\**********************************************************************/5859void put_cocycle(matrix_TYP *COZ,60int dim,61int number,62char *file,63char *comment);6465/*********************************************************************\66| FILE: normalop.c67\*********************************************************************/6869extern matrix_TYP *normalop(matrix_TYP *cozycle,70matrix_TYP *D,71matrix_TYP *R,72bravais_TYP *G,73matrix_TYP *N,74int opt);7576extern matrix_TYP **extensions(matrix_TYP *cozycle,77matrix_TYP *D,78matrix_TYP *R,79bravais_TYP *G,80int **lengths,81MP_INT **names,82int *number_of_orbits,83int option);8485extern void no_of_extensions(matrix_TYP *cozycle,matrix_TYP *D,86matrix_TYP *R,bravais_TYP *G,MP_INT *no);8788extern matrix_TYP **identify(matrix_TYP *cozycle,89matrix_TYP *D,90matrix_TYP *R,91bravais_TYP *G,92matrix_TYP **extension,93MP_INT *a,int number,94int transform_flag,95int ***WORDS,96int *NUMBER_OF_WORDS);9798extern void translation(matrix_TYP *TR,99matrix_TYP *rep,100matrix_TYP *ext,101matrix_TYP *cocycle,102matrix_TYP *D,103bravais_TYP *G);104105extern void valuation(matrix_TYP *x,matrix_TYP *D,MP_INT *val);106107extern matrix_TYP *orbit_rep(matrix_TYP *x,108matrix_TYP **N,109int nanz,110matrix_TYP *D,111int option,112char *B,113MP_INT *l,114int *anz,115int **word,116int word_flag,117int ***WORDS,118int *NUMBER_OF_WORDS);119120/**********************************************************************\121| FILE: reverse_valuation.c122\**********************************************************************/123124extern matrix_TYP *reverse_valuation(MP_INT *val,matrix_TYP *D);125126/**********************************************************************\127| FILE: reget_gen.c128\**********************************************************************/129130extern matrix_TYP *reget_gen(matrix_TYP **map,int number,bravais_TYP *G,131int **words, int word_flag);132133134/**********************************************************************\135| FILE: zass.c136\**********************************************************************/137138extern matrix_TYP *matrizen_in_word(matrix_TYP **mat,139matrix_TYP **matinv,140word g);141142extern void matrix_2_word(matrix_TYP *matrix,143word *relator,144long zeile);145146extern matrix_TYP **cohomology(long *dim,147matrix_TYP **mat,148matrix_TYP **matinv,149word *relator,150int erzeuger,151int relatoren);152153extern int wordfree(word *a);154155extern matrix_TYP *scalar(long n,156long a);157158extern matrix_TYP *calc_B(matrix_TYP **mat,159long anz_erzeuger);160161#else162163164/**********************************************************************\165| FILE: cobundary.c166\**********************************************************************/167168void coboundary();169170/**********************************************************************\171| FILE: cong_solve.c172\**********************************************************************/173174matrix_TYP **cong_solve();175176177/**********************************************************************\178| FILE: convert_cocycle_to_column.c179\**********************************************************************/180181void convert_cocycle_to_column();182183/**********************************************************************\184| FILE: convert_to_cozycle.c185\**********************************************************************/186187extern matrix_TYP *convert_to_cozycle();188189190/**********************************************************************\191| FILE: put_cocycle.c192\**********************************************************************/193194void put_cocycle();195196/*********************************************************************\197| FILE: normalop.c198\*********************************************************************/199200extern matrix_TYP *normalop();201202extern matrix_TYP **extensions();203204extern void no_of_extensions();205206extern matrix_TYP **identify();207208extern void translation();209210extern void valuation();211212extern matrix_TYP *orbit_rep();213214215/**********************************************************************\216| FILE: reverse_valuation.c217\**********************************************************************/218219extern matrix_TYP *reverse_valuation();220221/**********************************************************************\222| FILE: reget_gen.c223\**********************************************************************/224225extern matrix_TYP *reget_gen();226227/**********************************************************************\228| FILE: zass.c229\**********************************************************************/230231extern matrix_TYP *matrizen_in_word();232233extern void matrix_2_word();234235extern matrix_TYP **cohomology();236237extern int wordfree();238239extern matrix_TYP *scalar();240241extern matrix_TYP *calc_B();242243#endif244#endif245246247#ifdef __cplusplus248}249#endif250251252253