1 | /* $Id: NTLconvert.h,v 1.8 2007-04-25 11:00:51 Singular Exp $ */ |
---|
2 | #ifndef INCL_NTLCONVERT_H |
---|
3 | #define INCL_NTLCONVERT_H |
---|
4 | |
---|
5 | #include <config.h> |
---|
6 | |
---|
7 | #include "cf_gmp.h" |
---|
8 | |
---|
9 | #include "assert.h" |
---|
10 | |
---|
11 | #include "cf_defs.h" |
---|
12 | #include "canonicalform.h" |
---|
13 | #include "cf_iter.h" |
---|
14 | #include "fac_berlekamp.h" |
---|
15 | #include "fac_cantzass.h" |
---|
16 | #include "fac_univar.h" |
---|
17 | #include "fac_multivar.h" |
---|
18 | #include "fac_sqrfree.h" |
---|
19 | #include "cf_algorithm.h" |
---|
20 | |
---|
21 | #ifdef HAVE_NTL |
---|
22 | |
---|
23 | #include <NTL/ZZXFactoring.h> |
---|
24 | #include <NTL/ZZ_pXFactoring.h> |
---|
25 | #include <NTL/lzz_pXFactoring.h> |
---|
26 | #include <NTL/GF2XFactoring.h> |
---|
27 | #include "int_int.h" |
---|
28 | #include <limits.h> |
---|
29 | #include <NTL/ZZ_pEXFactoring.h> |
---|
30 | #include <NTL/lzz_pEXFactoring.h> |
---|
31 | #include <NTL/GF2EXFactoring.h> |
---|
32 | |
---|
33 | #ifdef NTL_CLIENT // in <NTL/tools.h>: using of name space NTL |
---|
34 | NTL_CLIENT |
---|
35 | #endif |
---|
36 | |
---|
37 | ZZ_pX convertFacCF2NTLZZpX(CanonicalForm f); |
---|
38 | zz_pX convertFacCF2NTLzzpX(CanonicalForm f); |
---|
39 | GF2X convertFacCF2NTLGF2X(CanonicalForm f); |
---|
40 | CanonicalForm convertNTLZZpX2CF(ZZ_pX poly,Variable x); |
---|
41 | CanonicalForm convertNTLzzpX2CF(zz_pX poly,Variable x); |
---|
42 | CanonicalForm convertNTLGF2X2CF(GF2X poly,Variable x); |
---|
43 | CanonicalForm convertNTLZZX2CF(ZZX polynom,Variable x); |
---|
44 | CFFList convertNTLvec_pair_ZZpX_long2FacCFFList(vec_pair_ZZ_pX_long e,ZZ_p multi,Variable x); |
---|
45 | CFFList convertNTLvec_pair_zzpX_long2FacCFFList(vec_pair_zz_pX_long e,zz_p multi,Variable x); |
---|
46 | |
---|
47 | CFFList convertNTLvec_pair_GF2X_long2FacCFFList(vec_pair_GF2X_long e,GF2 multi,Variable x); |
---|
48 | CanonicalForm convertZZ2CF(ZZ coefficient); |
---|
49 | ZZX convertFacCF2NTLZZX(CanonicalForm f); |
---|
50 | CFFList convertNTLvec_pair_ZZX_long2FacCFFList(vec_pair_ZZX_long e,ZZ multi,Variable x); |
---|
51 | CanonicalForm convertNTLZZpE2CF(ZZ_pE coefficient,Variable x); |
---|
52 | CFFList convertNTLvec_pair_ZZpEX_long2FacCFFList(vec_pair_ZZ_pEX_long e,ZZ_pE multi,Variable x,Variable alpha); |
---|
53 | CanonicalForm convertNTLGF2E2CF(GF2E coefficient,Variable x); |
---|
54 | CFFList convertNTLvec_pair_GF2EX_long2FacCFFList(vec_pair_GF2EX_long e,GF2E multi,Variable x,Variable alpha); |
---|
55 | GF2EX convertFacCF2NTLGF2EX(CanonicalForm f,GF2X mipo); |
---|
56 | ZZ_pEX convertFacCF2NTLZZ_pEX(CanonicalForm f,ZZ_pX mipo); |
---|
57 | zz_pEX convertFacCF2NTLzz_pEX(CanonicalForm f,zz_pX mipo); |
---|
58 | CFFList convertNTLvec_pair_zzpEX_long2FacCFFList(vec_pair_zz_pEX_long e,zz_pE multi,Variable x,Variable alpha); |
---|
59 | |
---|
60 | #endif |
---|
61 | #endif |
---|