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
RevLine 
[341696]1/* $Id$ */
[a99e31]2#ifndef INCL_NTLCONVERT_H
3#define INCL_NTLCONVERT_H
4
5#include <config.h>
6
7#include "cf_gmp.h"
8
[650f2d8]9#include "cf_assert.h"
[a99e31]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
[d30633d]21#ifdef HAVE_NTL
22
[ec60a3]23#include <NTL/ZZXFactoring.h>
24#include <NTL/ZZ_pXFactoring.h>
[f11d7b]25#include <NTL/lzz_pXFactoring.h>
[ec60a3]26#include <NTL/GF2XFactoring.h>
[a99e31]27#include "int_int.h"
28#include <limits.h>
[ec60a3]29#include <NTL/ZZ_pEXFactoring.h>
[5af844a]30#include <NTL/lzz_pEXFactoring.h>
[ec60a3]31#include <NTL/GF2EXFactoring.h>
[e950c22]32#include <NTL/mat_ZZ.h>
[c24143a]33#include <NTL/mat_lzz_p.h>
34#include <NTL/mat_lzz_pE.h>
[e950c22]35
[a99e31]36
[11812a]37#ifdef NTL_CLIENT               // in <NTL/tools.h>: using of name space NTL
38NTL_CLIENT
39#endif
40
[a99e31]41ZZ_pX convertFacCF2NTLZZpX(CanonicalForm f);
[f11d7b]42zz_pX convertFacCF2NTLzzpX(CanonicalForm f);
[a99e31]43GF2X convertFacCF2NTLGF2X(CanonicalForm f);
44CanonicalForm convertNTLZZpX2CF(ZZ_pX poly,Variable x);
[f11d7b]45CanonicalForm convertNTLzzpX2CF(zz_pX poly,Variable x);
[a99e31]46CanonicalForm convertNTLGF2X2CF(GF2X poly,Variable x);
[f11d7b]47CanonicalForm convertNTLZZX2CF(ZZX polynom,Variable x);
[a99e31]48CFFList convertNTLvec_pair_ZZpX_long2FacCFFList(vec_pair_ZZ_pX_long e,ZZ_p multi,Variable x);
[f11d7b]49CFFList convertNTLvec_pair_zzpX_long2FacCFFList(vec_pair_zz_pX_long e,zz_p multi,Variable x);
[a99e31]50
51CFFList convertNTLvec_pair_GF2X_long2FacCFFList(vec_pair_GF2X_long e,GF2 multi,Variable x);
52CanonicalForm convertZZ2CF(ZZ coefficient);
[f291fcd]53ZZ convertFacCF2NTLZZ(const CanonicalForm f);
[a99e31]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);
[b1326b]60GF2EX convertFacCF2NTLGF2EX(CanonicalForm f,GF2X mipo);
[d30633d]61ZZ_pEX convertFacCF2NTLZZ_pEX(CanonicalForm f,ZZ_pX mipo);
[5af844a]62zz_pEX convertFacCF2NTLzz_pEX(CanonicalForm f,zz_pX mipo);
[c48e80]63CanonicalForm convertNTLzzpE2CF(zz_pE f, Variable x);
[5af844a]64CFFList convertNTLvec_pair_zzpEX_long2FacCFFList(vec_pair_zz_pEX_long e,zz_pE multi,Variable x,Variable alpha);
[c48e80]65CanonicalForm convertNTLzz_pEX2CF(zz_pEX f, Variable x, Variable alpha);
[a99e31]66
[899d4c]67mat_ZZ* convertFacCFMatrix2NTLmat_ZZ(CFMatrix &m);
68CFMatrix* convertNTLmat_ZZ2FacCFMatrix(mat_ZZ &m);
[c24143a]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
[c6eecb]74extern int fac_NTL_char;
[a99e31]75#endif
[d30633d]76#endif
Note: See TracBrowser for help on using the repository browser.