use provided parameter names
[barvinok.git] / genfun.h
blob3c913c082c6278998450aa22ede7cc29f5af0fba
1 #ifndef GENFUN_H
2 #define GENFUN_H
4 #include <vector>
5 #include <gmp.h>
6 #include <NTL/mat_ZZ.h>
7 extern "C" {
8 #include <polylib/polylibgmp.h>
11 #ifdef NTL_STD_CXX
12 using namespace NTL;
13 #endif
15 struct short_rat {
16 struct {
17 mat_ZZ coeff;
18 mat_ZZ power;
19 } n;
20 struct {
21 mat_ZZ power;
22 } d;
25 struct gen_fun {
26 std::vector< short_rat * > term;
28 void add(ZZ& cn, ZZ& cd, vec_ZZ& num, mat_ZZ& den);
29 void print(unsigned int nparam, char **param_name);
32 #endif