spielwiese
Last change
on this file since c46f94 was
6a70f3,
checked in by Hans Schoenemann <hannes@…>, 9 years ago
|
use standard names: int_number -> mpz_prt, NATNUMBER ->unsigned long
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | #ifndef STRUCTS_H |
---|
2 | #define STRUCTS_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* |
---|
7 | * ABSTRACT |
---|
8 | */ |
---|
9 | |
---|
10 | /* for omBin */ |
---|
11 | #include <omalloc/omalloc.h> |
---|
12 | #ifdef HAVE_RINGS |
---|
13 | #include <coeffs/si_gmp.h> |
---|
14 | #endif |
---|
15 | |
---|
16 | /* standard types */ |
---|
17 | #define BITSET unsigned int |
---|
18 | |
---|
19 | |
---|
20 | /* C++-part */ |
---|
21 | #ifdef __cplusplus |
---|
22 | #include <misc/auxiliary.h> |
---|
23 | #include <kernel/polys.h> |
---|
24 | #include <polys/coeffrings.h> |
---|
25 | |
---|
26 | class Voice; |
---|
27 | class sleftv; |
---|
28 | class procinfo; |
---|
29 | class skStrategy; |
---|
30 | class ssyStrategy; |
---|
31 | class CPolynomialSummator; |
---|
32 | class CGlobalMultiplier; |
---|
33 | class CFormulaPowerMultiplier; |
---|
34 | #endif |
---|
35 | |
---|
36 | |
---|
37 | enum tHomog |
---|
38 | { |
---|
39 | isNotHomog = FALSE, |
---|
40 | isHomog = TRUE, |
---|
41 | testHomog |
---|
42 | }; |
---|
43 | |
---|
44 | struct sip_package; |
---|
45 | typedef struct sip_package ip_package; |
---|
46 | typedef ip_package * package; |
---|
47 | |
---|
48 | typedef struct n_Procs_s n_Procs_s; |
---|
49 | |
---|
50 | struct nc_struct; |
---|
51 | typedef struct nc_struct nc_struct; |
---|
52 | |
---|
53 | typedef struct sip_link ip_link; |
---|
54 | |
---|
55 | /* the pointer types */ |
---|
56 | typedef char * char_ptr; |
---|
57 | typedef int * int_ptr; |
---|
58 | |
---|
59 | #ifdef __cplusplus |
---|
60 | typedef sleftv * leftv; |
---|
61 | typedef skStrategy * kStrategy; |
---|
62 | typedef ssyStrategy * syStrategy; |
---|
63 | typedef procinfo * procinfov; |
---|
64 | |
---|
65 | /* the function pointer types */ |
---|
66 | |
---|
67 | #endif /* __cplusplus */ |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | /* |
---|
72 | ** 7. runtime procedures/global data |
---|
73 | */ |
---|
74 | |
---|
75 | /* 7.1 C-routines : */ |
---|
76 | |
---|
77 | |
---|
78 | #ifdef __cplusplus |
---|
79 | extern "C" { |
---|
80 | #endif |
---|
81 | void m2_end(int i); |
---|
82 | #ifdef __cplusplus |
---|
83 | } |
---|
84 | #endif |
---|
85 | |
---|
86 | #define loop for(;;) |
---|
87 | |
---|
88 | #ifndef ABS |
---|
89 | #define ABS(x) ((x)<0?(-(x)):(x)) |
---|
90 | #endif |
---|
91 | |
---|
92 | extern omBin char_ptr_bin; |
---|
93 | |
---|
94 | #endif |
---|
95 | |
---|
Note: See
TracBrowser
for help on using the repository browser.