source: git/factory/NTLconvert.h @ 650f2d8

spielwiese
Last change on this file since 650f2d8 was 650f2d8, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
renamed assert.h -> cf_assert.h in factory
  • Property mode set to 100644
File size: 2.8 KB
Line 
1/* $Id$ */
2#ifndef INCL_NTLCONVERT_H
3#define INCL_NTLCONVERT_H
4
5#include <config.h>
6
7#include "cf_gmp.h"
8
9#include "cf_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#include <NTL/mat_ZZ.h>
33#include <NTL/mat_lzz_p.h>
34#include <NTL/mat_lzz_pE.h>
35
36
37#ifdef NTL_CLIENT               // in <NTL/tools.h>: using of name space NTL
38NTL_CLIENT
39#endif
40
41ZZ_pX convertFacCF2NTLZZpX(CanonicalForm f);
42zz_pX convertFacCF2NTLzzpX(CanonicalForm f);
43GF2X convertFacCF2NTLGF2X(CanonicalForm f);
44CanonicalForm convertNTLZZpX2CF(ZZ_pX poly,Variable x);
45CanonicalForm convertNTLzzpX2CF(zz_pX poly,Variable x);
46CanonicalForm convertNTLGF2X2CF(GF2X poly,Variable x);
47CanonicalForm convertNTLZZX2CF(ZZX polynom,Variable x);
48CFFList convertNTLvec_pair_ZZpX_long2FacCFFList(vec_pair_ZZ_pX_long e,ZZ_p multi,Variable x);
49CFFList convertNTLvec_pair_zzpX_long2FacCFFList(vec_pair_zz_pX_long e,zz_p multi,Variable x);
50
51CFFList convertNTLvec_pair_GF2X_long2FacCFFList(vec_pair_GF2X_long e,GF2 multi,Variable x);
52CanonicalForm convertZZ2CF(ZZ coefficient);
53ZZ convertFacCF2NTLZZ(const CanonicalForm f);
54ZZX convertFacCF2NTLZZX(CanonicalForm f);
55CFFList convertNTLvec_pair_ZZX_long2FacCFFList(vec_pair_ZZX_long e,ZZ multi,Variable x);
56CanonicalForm convertNTLZZpE2CF(ZZ_pE coefficient,Variable x);
57CFFList convertNTLvec_pair_ZZpEX_long2FacCFFList(vec_pair_ZZ_pEX_long e,ZZ_pE multi,Variable x,Variable alpha);
58CanonicalForm convertNTLGF2E2CF(GF2E coefficient,Variable x);
59CFFList convertNTLvec_pair_GF2EX_long2FacCFFList(vec_pair_GF2EX_long e,GF2E multi,Variable x,Variable alpha);
60GF2EX convertFacCF2NTLGF2EX(CanonicalForm f,GF2X mipo);
61ZZ_pEX convertFacCF2NTLZZ_pEX(CanonicalForm f,ZZ_pX mipo);
62zz_pEX convertFacCF2NTLzz_pEX(CanonicalForm f,zz_pX mipo);
63CanonicalForm convertNTLzzpE2CF(zz_pE f, Variable x);
64CFFList convertNTLvec_pair_zzpEX_long2FacCFFList(vec_pair_zz_pEX_long e,zz_pE multi,Variable x,Variable alpha);
65CanonicalForm convertNTLzz_pEX2CF(zz_pEX f, Variable x, Variable alpha);
66
67mat_ZZ* convertFacCFMatrix2NTLmat_ZZ(CFMatrix &m);
68CFMatrix* convertNTLmat_ZZ2FacCFMatrix(mat_ZZ &m);
69mat_zz_p* convertFacCFMatrix2NTLmat_zz_p(CFMatrix &m);
70CFMatrix* convertNTLmat_zz_p2FacCFMatrix(mat_zz_p &m);
71mat_zz_pE* convertFacCFMatrix2NTLmat_zz_pE(CFMatrix &m);
72CFMatrix* convertNTLmat_zz_pE2FacCFMatrix(mat_zz_pE &m, Variable alpha);
73
74extern int fac_NTL_char;
75#endif
76#endif
Note: See TracBrowser for help on using the repository browser.