source: git/factory/NTLconvert.h @ ba5e9e

spielwiese
Last change on this file since ba5e9e was 362fc67, checked in by Martin Lee <martinlee84@…>, 12 years ago
chg: remove $Id$
  • Property mode set to 100644
File size: 3.1 KB
Line 
1#ifndef INCL_NTLCONVERT_H
2#define INCL_NTLCONVERT_H
3
4#ifdef HAVE_NTL
5
6// #include <factory/cf_gmp.h>
7
8#include "cf_defs.h"
9#include "canonicalform.h"
10#include "cf_iter.h"
11#include "fac_berlekamp.h"
12#include "fac_cantzass.h"
13#include "fac_univar.h"
14#include "fac_multivar.h"
15#include "fac_sqrfree.h"
16#include "cf_algorithm.h"
17
18#include <NTL/config.h>
19
20#ifdef NTL_STD_CXX
21#ifdef NOSTREAMIO
22#  ifdef HAVE_IOSTREAM
23#    include <iostream>
24#    define OSTREAM std::ostream
25#    define ISTREAM std::istream
26#  elif defined(HAVE_IOSTREAM_H)
27#    include <iostream.h>
28#    define OSTREAM ostream
29#    define ISTREAM istream
30#  endif
31#endif /* ! NOSTREAMIO */
32#endif
33
34
35#include <NTL/ZZXFactoring.h>
36#include <NTL/ZZ_pXFactoring.h>
37#include <NTL/lzz_pXFactoring.h>
38#include <NTL/GF2XFactoring.h>
39#include <NTL/ZZ_pEXFactoring.h>
40#include <NTL/lzz_pEXFactoring.h>
41#include <NTL/GF2EXFactoring.h>
42#include <NTL/mat_ZZ.h>
43#include <NTL/mat_lzz_p.h>
44#include <NTL/mat_lzz_pE.h>
45
46#ifdef NTL_CLIENT               // in <NTL/tools.h>: using of name space NTL
47NTL_CLIENT
48#endif
49
50
51
52
53#include "int_int.h"
54#include "cf_assert.h"
55
56
57ZZ_pX convertFacCF2NTLZZpX(CanonicalForm f);
58zz_pX convertFacCF2NTLzzpX(CanonicalForm f);
59GF2X convertFacCF2NTLGF2X(CanonicalForm f);
60CanonicalForm convertNTLZZpX2CF(ZZ_pX poly,Variable x);
61CanonicalForm convertNTLzzpX2CF(zz_pX poly,Variable x);
62CanonicalForm convertNTLGF2X2CF(GF2X poly,Variable x);
63CanonicalForm convertNTLZZX2CF(ZZX polynom,Variable x);
64CFFList convertNTLvec_pair_ZZpX_long2FacCFFList(vec_pair_ZZ_pX_long e,ZZ_p multi,Variable x);
65CFFList convertNTLvec_pair_zzpX_long2FacCFFList(vec_pair_zz_pX_long e,zz_p multi,Variable x);
66
67CFFList convertNTLvec_pair_GF2X_long2FacCFFList(vec_pair_GF2X_long e,GF2 multi,Variable x);
68CanonicalForm convertZZ2CF(ZZ coefficient);
69ZZ convertFacCF2NTLZZ(const CanonicalForm f);
70ZZX convertFacCF2NTLZZX(CanonicalForm f);
71CFFList convertNTLvec_pair_ZZX_long2FacCFFList(vec_pair_ZZX_long e,ZZ multi,Variable x);
72CanonicalForm convertNTLZZpE2CF(ZZ_pE coefficient,Variable x);
73CFFList convertNTLvec_pair_ZZpEX_long2FacCFFList(vec_pair_ZZ_pEX_long e,ZZ_pE multi,Variable x,Variable alpha);
74CanonicalForm convertNTLGF2E2CF(GF2E coefficient,Variable x);
75CFFList convertNTLvec_pair_GF2EX_long2FacCFFList(vec_pair_GF2EX_long e,GF2E multi,Variable x,Variable alpha);
76GF2EX convertFacCF2NTLGF2EX(CanonicalForm f,GF2X mipo);
77ZZ_pEX convertFacCF2NTLZZ_pEX(CanonicalForm f,ZZ_pX mipo);
78zz_pEX convertFacCF2NTLzz_pEX(CanonicalForm f,zz_pX mipo);
79CanonicalForm convertNTLzzpE2CF(zz_pE f, Variable x);
80CFFList convertNTLvec_pair_zzpEX_long2FacCFFList(vec_pair_zz_pEX_long e,zz_pE multi,Variable x,Variable alpha);
81CanonicalForm convertNTLzz_pEX2CF(zz_pEX f, Variable x, Variable alpha);
82CanonicalForm convertNTLZZ_pEX2CF(ZZ_pEX f, Variable x, Variable alpha);
83
84mat_ZZ* convertFacCFMatrix2NTLmat_ZZ(CFMatrix &m);
85CFMatrix* convertNTLmat_ZZ2FacCFMatrix(mat_ZZ &m);
86mat_zz_p* convertFacCFMatrix2NTLmat_zz_p(CFMatrix &m);
87CFMatrix* convertNTLmat_zz_p2FacCFMatrix(mat_zz_p &m);
88mat_zz_pE* convertFacCFMatrix2NTLmat_zz_pE(CFMatrix &m);
89CFMatrix* convertNTLmat_zz_pE2FacCFMatrix(mat_zz_pE &m, Variable alpha);
90
91extern long fac_NTL_char;
92#endif
93#endif
Note: See TracBrowser for help on using the repository browser.