update polylib for .gitignore
[barvinok.git] / conversion.h
blob5d09fa5d01d129f8c32631e275e3ecd128498e5f
1 #include <gmp.h>
2 #include <NTL/mat_ZZ.h>
3 #include <barvinok/polylib.h>
5 using namespace NTL;
7 void value2zz(Value v, ZZ& z);
8 void zz2value(const ZZ& z, Value& v);
9 void values2zz(Value *p, vec_ZZ& v, int len);
10 void zz2values(const vec_ZZ& v, Value *p);
11 void matrix2zz(Matrix *M, mat_ZZ& m, unsigned nr, unsigned nc);
12 Matrix *rays(Polyhedron *C);
13 Matrix *rays2(Polyhedron *C);
14 Matrix *zz2matrix(const mat_ZZ& rays);
15 void rays(Polyhedron *C, mat_ZZ& rays);
16 void randomvector(Polyhedron *P, vec_ZZ& lambda, int nvar, int n_try);