6 #include <NTL/mat_ZZ.h>
8 #include <polylib/polylibgmp.h>
9 #include "ev_operations.h"
17 struct __short_rat_n
{
18 /* rows: terms in numerator */
22 struct __short_rat_d
{
23 /* rows: factors in denominator */
29 std::vector
< short_rat
* > term
;
32 void add(const ZZ
& cn
, const ZZ
& cd
, const vec_ZZ
& num
,
34 void print(unsigned int nparam
, char **param_name
) const;
35 operator evalue
*() const;
36 void coefficient(Value
* params
, Value
* c
) const;
38 gen_fun(Polyhedron
*C
= NULL
) : context(C
) {}
41 Polyhedron_Free(context
);
42 for (int i
= 0; i
< term
.size(); ++i
)