/* $Id: NTLconvert.h,v 1.7 2004-01-19 11:26:20 Singular Exp $ */ #ifndef INCL_NTLCONVERT_H #define INCL_NTLCONVERT_H #include #include "cf_gmp.h" #include "assert.h" #include "cf_defs.h" #include "canonicalform.h" #include "cf_iter.h" #include "fac_berlekamp.h" #include "fac_cantzass.h" #include "fac_univar.h" #include "fac_multivar.h" #include "fac_sqrfree.h" #include "cf_algorithm.h" #ifdef HAVE_NTL #include #include #include #include #include "int_int.h" #include #include #include #ifdef NTL_CLIENT // in : using of name space NTL NTL_CLIENT #endif ZZ_pX convertFacCF2NTLZZpX(CanonicalForm f); zz_pX convertFacCF2NTLzzpX(CanonicalForm f); GF2X convertFacCF2NTLGF2X(CanonicalForm f); CanonicalForm convertNTLZZpX2CF(ZZ_pX poly,Variable x); CanonicalForm convertNTLzzpX2CF(zz_pX poly,Variable x); CanonicalForm convertNTLGF2X2CF(GF2X poly,Variable x); CanonicalForm convertNTLZZX2CF(ZZX polynom,Variable x); CFFList convertNTLvec_pair_ZZpX_long2FacCFFList(vec_pair_ZZ_pX_long e,ZZ_p multi,Variable x); CFFList convertNTLvec_pair_zzpX_long2FacCFFList(vec_pair_zz_pX_long e,zz_p multi,Variable x); CFFList convertNTLvec_pair_GF2X_long2FacCFFList(vec_pair_GF2X_long e,GF2 multi,Variable x); CanonicalForm convertZZ2CF(ZZ coefficient); ZZX convertFacCF2NTLZZX(CanonicalForm f); CFFList convertNTLvec_pair_ZZX_long2FacCFFList(vec_pair_ZZX_long e,ZZ multi,Variable x); CanonicalForm convertNTLZZpE2CF(ZZ_pE coefficient,Variable x); CFFList convertNTLvec_pair_ZZpEX_long2FacCFFList(vec_pair_ZZ_pEX_long e,ZZ_pE multi,Variable x,Variable alpha); CanonicalForm convertNTLGF2E2CF(GF2E coefficient,Variable x); CFFList convertNTLvec_pair_GF2EX_long2FacCFFList(vec_pair_GF2EX_long e,GF2E multi,Variable x,Variable alpha); GF2EX convertFacCF2NTLGF2EX(CanonicalForm f,GF2X mipo); ZZ_pEX convertFacCF2NTLZZ_pEX(CanonicalForm f,ZZ_pX mipo); #endif #endif