GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
#ifdef __cplusplus1extern "C" {2#endif345#ifndef _VORONOI_H_6#define _VORONOI_H_78#ifndef _CARAT_TYPEDEF_H_9#include"typedef.h"10#endif1112typedef struct {13matrix_TYP *gram;14int SV_no;15int min;16int pdet;17int prime;18int vert_no;19wall_TYP **vert;20polyeder_TYP *pol;21matrix_TYP *red_inv;22matrix_TYP *T;23matrix_TYP *Ti;24bravais_TYP *Gtrred;25matrix_TYP *SVi;26bravais_TYP *stab;27bravais_TYP *linstab;28matrix_TYP *dir_reps;29} voronoi_TYP;303132#ifdef __STDC__33/*********************************************************************\34| FILE: all_vor_neighbours.c35\*********************************************************************/36extern matrix_TYP *all_voronoi_neighbours(matrix_TYP *P, bravais_TYP *G,37matrix_TYP **Ftr, matrix_TYP *tr_bifo);3839/*********************************************************************\40| FILE: calc_vor_data.c41\*********************************************************************/42extern void calc_voronoi_basics(voronoi_TYP *V, bravais_TYP *G,43bravais_TYP *Gtr, int prime);44extern void calc_voronoi_pol(voronoi_TYP *V, matrix_TYP *bifo);45extern void calc_voronoi_good_inv(voronoi_TYP *V, bravais_TYP *Gtr);46extern void calc_voronoi_stab(voronoi_TYP *V, bravais_TYP *G, bravais_TYP *Gtr,47matrix_TYP *bifo);48extern matrix_TYP *calc_voronoi_isometry(voronoi_TYP *V1, voronoi_TYP *V2,49bravais_TYP *G, bravais_TYP *Gtr, matrix_TYP *bifo);50extern void calc_voronoi_dir_reps(voronoi_TYP *V, bravais_TYP *G,51bravais_TYP *Gtr, matrix_TYP *bifo);52extern void calc_voronoi_complete(voronoi_TYP *V, bravais_TYP *G,53bravais_TYP *Gtr, matrix_TYP *bifo, int prime);5455/*********************************************************************\56@ FILE: first_perfect.c57\*********************************************************************/58extern matrix_TYP *first_perfect(matrix_TYP *A, bravais_TYP *G,59matrix_TYP **Ftr, matrix_TYP *trbifo, int *min);6061/*********************************************************************\62@ FILE: init_voronoi.c63\*********************************************************************/64extern voronoi_TYP *init_voronoi();65extern void clear_voronoi(voronoi_TYP *V);66extern void put_voronoi(voronoi_TYP *V);6768/****************************************************************************\69@ FILE: normalizer.c70\****************************************************************************/71extern voronoi_TYP **normalizer(matrix_TYP *P, bravais_TYP *G,72bravais_TYP *Gtr, int prime, int *V_no);7374/************************************************************************\75| FILE: pair_red_inv.c76\************************************************************************/77extern matrix_TYP *pair_red_inv(matrix_TYP *A, matrix_TYP *T);7879/****************************************************************************\80@ FILE: vor_neighbour.c:81\****************************************************************************/82extern matrix_TYP *voronoi_neighbour(matrix_TYP *A, matrix_TYP *X,83int Amin, int *lc, int *rc);8485/****************************************************************************\86@ FILE: vor_vertices.c87\****************************************************************************/88extern matrix_TYP **voronoi_vertices(matrix_TYP *form, bravais_TYP *grp,89int *anz, int *form_min, int *SV_no);9091/****************************************************************************\92@ FILE: bravais_flok.c93\****************************************************************************/94extern matrix_TYP *is_z_equivalent(bravais_TYP *G,bravais_TYP *Gtr,95bravais_TYP *H,bravais_TYP *Htr);9697matrix_TYP *extends_to_isometry(98matrix_TYP **hforms,matrix_TYP *HSV,int anz_hneighbours,99matrix_TYP **gforms,matrix_TYP *GSV,int anz_gneighbours,100int fdim,int offset);101102void transform_pair(bravais_TYP *H,bravais_TYP *Htr,matrix_TYP *x);103104int max_diagonal_entry(matrix_TYP *A);105106int neighbours(matrix_TYP ***perf,bravais_TYP *G,matrix_TYP **Ftr,107matrix_TYP *tr_bifo,matrix_TYP *SV,int min);108109/****************************************************************************\110@ FILE: bravais_flok_datei.c111\****************************************************************************/112extern matrix_TYP *is_z_equivalent_datei(bravais_TYP *G,bravais_TYP *Gtr,113bravais_TYP *H,bravais_TYP *Htr,voronoi_TYP ***gp,int *anz_gperfect);114115/****************************************************************************\116@ FILE: red_normal.c117\****************************************************************************/118extern void red_normal(bravais_TYP *G);119120121#else122/*********************************************************************\123| FILE: all_vor_neighbours.c124\*********************************************************************/125extern matrix_TYP *all_voronoi_neighbours();126127/*********************************************************************\128| FILE: calc_vor_data.c129\*********************************************************************/130extern void calc_voronoi_basics();131extern void calc_voronoi_pol();132extern void calc_voronoi_good_inv();133extern void calc_voronoi_stab();134extern matrix_TYP *calc_voronoi_isometry();135extern void calc_voronoi_dir_reps();136extern void calc_voronoi_complete();137138/*********************************************************************\139@ FILE: first_perfect.c140\*********************************************************************/141extern matrix_TYP *first_perfect();142143/*********************************************************************\144@ FILE: init_voronoi.c145\*********************************************************************/146extern voronoi_TYP *init_voronoi();147extern void clear_voronoi();148extern void put_voronoi();149150/****************************************************************************\151@ FILE: normalizer.c152\****************************************************************************/153extern voronoi_TYP **normalizer();154155/************************************************************************\156| FILE: pair_red_inv.c157\************************************************************************/158extern matrix_TYP *pair_red_inv();159160/****************************************************************************\161@ FILE: vor_neighbour.c:162\****************************************************************************/163extern matrix_TYP *voronoi_neighbour();164165/****************************************************************************\166@ FILE: vor_vertices.c167\****************************************************************************/168extern matrix_TYP **voronoi_vertices();169170/****************************************************************************\171@ FILE: bravais_flok.c172\****************************************************************************/173extern matrix_TYP *is_z_equivalent();174175176matrix_TYP *extends_to_isometry();177178void transform_pair();179180int max_diagonal_entry();181182int neighbours();183184/****************************************************************************\185@ FILE: bravais_flok_datei.c186\****************************************************************************/187extern matrix_TYP *is_z_equivalent_datei();188189/****************************************************************************\190@ FILE: red_normal.c191\****************************************************************************/192extern void red_normal(bravais_TYP *G);193194195#endif196#endif197198199#ifdef __cplusplus200}201#endif202203204205