1 | #ifndef POLYS_NC_GB_HACK_H |
---|
2 | #define POLYS_NC_GB_HACK_H |
---|
3 | |
---|
4 | #ifdef HAVE_PLURAL |
---|
5 | |
---|
6 | #ifdef PLURAL_INTERNAL_DECLARATIONS |
---|
7 | |
---|
8 | struct spolyrec; |
---|
9 | typedef struct spolyrec polyrec; |
---|
10 | typedef polyrec * poly; |
---|
11 | |
---|
12 | struct ip_sring; |
---|
13 | typedef struct ip_sring * ring; |
---|
14 | |
---|
15 | class intvec; |
---|
16 | |
---|
17 | struct sip_sideal; |
---|
18 | typedef struct sip_sideal * ideal; |
---|
19 | |
---|
20 | class skStrategy; typedef skStrategy * kStrategy; |
---|
21 | typedef ideal (*GB_Proc_Ptr)(const ideal, const ideal, const intvec*, const intvec*, kStrategy, const ring); |
---|
22 | |
---|
23 | |
---|
24 | ideal gnc_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing); |
---|
25 | ideal gnc_gr_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing); |
---|
26 | |
---|
27 | /// Modified Plural's Buchberger's algorithmus. |
---|
28 | ideal sca_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing); |
---|
29 | |
---|
30 | /// Modified modern Sinuglar Buchberger's algorithm. |
---|
31 | ideal sca_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing); |
---|
32 | |
---|
33 | /// Modified modern Sinuglar Mora's algorithm. |
---|
34 | ideal sca_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing); |
---|
35 | |
---|
36 | poly kNF(ideal, ideal, poly, int, int, const ring _currRing); |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | # ifdef PLURAL_INTERNAL_DECLARATIONS_GB_HACK |
---|
41 | |
---|
42 | extern void WerrorS(const char *); |
---|
43 | |
---|
44 | # define STR_EXPAND(tok) #tok |
---|
45 | # define D(A) A \ |
---|
46 | { \ |
---|
47 | WerrorS("This is a hack. Function is not defined: " \ |
---|
48 | STR_EXPAND(A) \ |
---|
49 | ); \ |
---|
50 | } |
---|
51 | |
---|
52 | D(ideal gnc_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing)) |
---|
53 | D(ideal gnc_gr_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing)) |
---|
54 | |
---|
55 | /// Modified Plural's Buchberger's algorithmus. |
---|
56 | D(ideal sca_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing)) |
---|
57 | |
---|
58 | /// Modified modern Sinuglar Buchberger's algorithm. |
---|
59 | D(ideal sca_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing)) |
---|
60 | |
---|
61 | /// Modified modern Sinuglar Mora's algorithm. |
---|
62 | D(ideal sca_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing)) |
---|
63 | |
---|
64 | D(poly kNF(ideal, ideal, poly, int, int, const ring _currRing)) |
---|
65 | |
---|
66 | #endif // # ifdef PLURAL_INTERNAL_DECLARATIONS_GB_HACK |
---|
67 | #endif // PLURAL_INTERNAL_DECLARATIONS |
---|
68 | |
---|
69 | |
---|
70 | #endif // HAVE_PLURAL |
---|
71 | #endif // POLYS_NC_GB_HACK_H |
---|
72 | |
---|