GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#include <typedef.h>1#include <getput.h>2#include <matrix.h>3#include <base.h>45int INFO_LEVEL;6extern int SFLAG;78main(int argc,char **argv){910bravais_TYP *G,11*N;1213matrix_TYP **normal,14**x;1516bahn **strong;1718int i,19j,20l,21anz,22finite;2324read_header(argc,argv);2526if ((is_option('h') && optionnumber('h')==0) || (FILEANZ < 2)){27printf("Usage: \n");28printf(" Normalizer_in_N 'file1' 'file2' [-f] \n");29printf("\n");30printf("Where file1 and file2 contain a bravais_TYP. Calculates the\n");31printf("normalizer of the group in file1 in the group generated by\n");32printf("the matrices of file2->gen, file2->cen and file2->normal.\n");33printf("\n");34printf("Options:\n");35printf("\n");36printf("-f : The program assumes that the calculated normalizer\n");37printf(" is finite, and performs an base/strong generator\n");38printf(" algorithm on it. In effect you will get less\n");39printf(" generators for it. IT WILL WORK IF AND ONLY IF\n");40printf(" THE CALCULATED NORMALIZER IS INDEED FINITE.\n");41printf("\n");42if (is_option('h')){43exit(0);44}45else{46exit(31);47}48}4950INFO_LEVEL = optionnumber('h');51if (INFO_LEVEL & 8){52SFLAG = 1;53}54finite = FALSE;55if (is_option('f')) finite = TRUE;5657G = get_bravais(FILENAMES[0]);58N = get_bravais(FILENAMES[1]);5960normal = normalizer_in_N(G,N,&anz,finite);6162printf("#%d\n",anz);63for (i=0;i<anz;i++){64put_mat(normal[i],NULL,NULL,2);65}6667/* cleaning up memory for pointer_statistics */68free_bravais(G);69free_bravais(N);70for (i=0;i<anz;i++) free_mat(normal[i]);71free(normal);7273printf("end of Normalizer_in_N\n");7475if (INFO_LEVEL & 8){76pointer_statistics(0,0);77}7879exit(0);80} /* main */81828384