doc: fix typo
[barvinok.git] / lattice_point.h
blobdd836c790ec743e3d00d1d56c77df768eabbab90
1 #ifndef LATTICE_POINT_H
2 #define LATTICE_POINT_H
4 #include <gmp.h>
5 #include <NTL/vec_ZZ.h>
6 #include <NTL/mat_ZZ.h>
7 #include <barvinok/polylib.h>
9 #ifdef NTL_STD_CXX
10 using namespace NTL;
11 #endif
13 struct barvinok_options;
15 evalue *multi_monom(vec_ZZ& p);
16 int normal_mod(Value *coef, int len, Value *m);
17 void lattice_point(Value* values, const mat_ZZ& rays, vec_ZZ& vertex, int *closed);
18 void lattice_point(Value* values, const mat_ZZ& rays, mat_ZZ& vertex,
19 unsigned long det, int *closed);
20 void lattice_point(Param_Vertices *V, const mat_ZZ& rays, vec_ZZ& num,
21 evalue **E_vertex, barvinok_options *options);
23 /* This structure encodes the power of the term in a rational generating function.
25 * Either E == NULL or constant = 0
26 * If E != NULL, then the power is E
27 * If E == NULL, then the power is constant
29 struct term_info {
30 evalue **E;
31 vec_ZZ constant;
34 void lattice_point(Param_Vertices* V, const mat_ZZ& rays, vec_ZZ& lambda,
35 term_info* term, unsigned long det, int *closed,
36 barvinok_options *options);
38 #endif