1 | /* =================================================================== |
---|
2 | GLOBAL COMPILE OPTIONS FOR BIFAC |
---|
3 | =================================================================== */ |
---|
4 | |
---|
5 | |
---|
6 | #ifndef bifac_global__H |
---|
7 | #define bifac_global__H |
---|
8 | |
---|
9 | #ifdef HAVE_BIFAC |
---|
10 | |
---|
11 | // Also compute the polynomial 'h' and check if the defining |
---|
12 | // diffential equation is zero |
---|
13 | const bool BIFAC_BASIS_OF_G_CHECK = true; |
---|
14 | |
---|
15 | // Check if the result of the absolute and rational |
---|
16 | // factorization of a univariate polynomial are identical. |
---|
17 | const bool BIFAC_CHECK_UNI_ABS = true; |
---|
18 | |
---|
19 | |
---|
20 | // Probability (in percent) that Eg(x) is separable |
---|
21 | const int EgSeparable = 90; |
---|
22 | |
---|
23 | // #define AUSGABE_LGS(text) ; |
---|
24 | // #define AUSGABE_HQ(text) ; |
---|
25 | // #define AUSGABE_ERR(text) ; |
---|
26 | // #define AUSGABE_LOG(text) ; |
---|
27 | |
---|
28 | // Should there be debugging output? |
---|
29 | #ifdef NOSTREAMIO |
---|
30 | #define AUSGABE_LGS(text) |
---|
31 | #define AUSGABE_HQ(text) |
---|
32 | #define AUSGABE_ERR(text) |
---|
33 | #define AUSGABE_LOG(text) |
---|
34 | #else |
---|
35 | #define AUSGABE_LGS(text) (cout << text << endl); |
---|
36 | #define AUSGABE_HQ(text) (cout << text << endl); |
---|
37 | #define AUSGABE_ERR(text) (cerr << text << endl); |
---|
38 | #define AUSGABE_LOG(text) (cout << text << endl); |
---|
39 | #endif |
---|
40 | |
---|
41 | |
---|
42 | /* =================================================================== |
---|
43 | GLOBAL COMPILE OPTIONS FOR MULTIFAC |
---|
44 | =================================================================== */ |
---|
45 | const int PROB_p = 90; // Probability in percent for acurate factorization |
---|
46 | const bool HC_NOASSERT = false; |
---|
47 | |
---|
48 | #endif |
---|
49 | #endif |
---|