source: git/libpolys/polys/nc/gb_hack.h @ 1b7bc4

spielwiese
Last change on this file since 1b7bc4 was 1b7bc4, checked in by Hans Schoenemann <hannes@…>, 9 years ago
Revert "fix: move references to k_NF in libpolys to r->NF (windows port)" This reverts commit 7a5d0528fc222efce1f1e6ada3f0ba8e3ad513c3.
  • Property mode set to 100644
File size: 2.3 KB
Line 
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
8struct  spolyrec; typedef struct spolyrec    polyrec; typedef polyrec *          poly;
9struct ip_sring; typedef struct ip_sring *         ring;
10struct sip_sideal; typedef struct sip_sideal *       ideal;
11
12class intvec;
13
14class skStrategy; typedef skStrategy * kStrategy;
15typedef ideal (*GB_Proc_Ptr)(const ideal, const ideal, const intvec*, const intvec*, kStrategy, const ring);
16
17
18ideal gnc_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing);
19ideal gnc_gr_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing);
20
21/// Modified Plural's Buchberger's algorithmus.
22ideal sca_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing);
23
24/// Modified modern Sinuglar Buchberger's algorithm.
25ideal sca_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing);
26
27/// Modified modern Sinuglar Mora's algorithm.
28ideal sca_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing);
29
30poly k_NF(ideal, ideal, poly, int, int, const ring _currRing);
31
32
33
34# ifdef PLURAL_INTERNAL_DECLARATIONS_GB_HACK
35
36extern void WerrorS(const char *);
37
38# define STR_EXPAND(tok) #tok
39# define D(A)    A{ WerrorS("This is a hack. Function is not defined: " STR_EXPAND(A) ); return NULL; (void)(_currRing); }
40
41D(ideal gnc_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing))
42D(ideal gnc_gr_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing))
43
44/// Modified Plural's Buchberger's algorithmus.
45D(ideal sca_gr_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing))
46
47/// Modified modern Sinuglar Buchberger's algorithm.
48D(ideal sca_bba(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing))
49
50/// Modified modern Sinuglar Mora's algorithm.
51D(ideal sca_mora(const ideal, const ideal, const intvec *, const intvec *, kStrategy, const ring _currRing))
52
53D(poly k_NF(ideal, ideal, poly, int, int, const ring _currRing))
54
55#endif // # ifdef PLURAL_INTERNAL_DECLARATIONS_GB_HACK
56#endif // PLURAL_INTERNAL_DECLARATIONS
57
58
59#endif // HAVE_PLURAL
60#endif // POLYS_NC_GB_HACK_H
61
Note: See TracBrowser for help on using the repository browser.