7 #include <NTL/vec_ZZ.h>
9 #include <polylib/polylibgmp.h>
11 #include "conversion.h"
20 dpoly(int d
, ZZ
& degree
, int offset
= 0);
21 void operator *= (dpoly
& f
);
22 void div(dpoly
& d
, mpq_t count
, ZZ
& sign
);
30 /* len: number of elements in c
31 * each element in c is the coefficient of a power of t
32 * in the MacLaurin expansion
35 std::vector
< dpoly_r_term
* > *c
;
40 void add_term(int i
, int * powers
, ZZ
& coeff
);
41 dpoly_r(int len
, int dim
);
42 dpoly_r(dpoly
& num
, int dim
);
43 dpoly_r(dpoly
& num
, dpoly
& den
, int pos
, int dim
);
44 dpoly_r(dpoly_r
* num
, dpoly
& den
, int pos
, int dim
);
46 dpoly_r
*div(dpoly
& d
);