22 int GKK_doublingtable(
int x,
int m,
int emax,
int *dt);
23 int GKK_modpow(
int *dt,
int e,
int m);
24 int GKK_primroot(
int p,
int e,
primedec_t *pr_p1,
int t_p1);
25 int GKK_multorder(
int n,
int p,
int e,
int pe,
primedec_t *pr_p1,
int t_p1);
26 void GKK_prepare(
int q,
int n,
primedec_t *pr_q,
int *t,
28 int *Nif,
int *Kif,
int *dif);
29 void GKK_L(
int t,
primedec_t *pr_q,
int *fi,
int *Kif,
int *dif,
30 int *Li,
int *diLi,
int *cl,
int *nl);
31 void GKK_precompute_terms(
int q,
primedec_t *pr_q,
int t,
int *gi,
32 int *diLi,
int *rp,
int *Mg,
int nMg);
33 void GKK_BalanceLoad(
int thrdnbr,
int *Tp,
int *leaders,
int nleaders,
int L);
34 void GKK_output_tables(
int m,
int n,
int q,
primedec_t *pr_q,
int t,
35 int *gi,
int *Nif,
int *Kif,
int *dif);
37 int GKK_getLeaderNbr(
int me,
int ne,
int *nleaders,
int **leaders);