CoxIter  1.2 CoxIter - Computing invariants of hyperbolic Coxeter groups
paripolynomials.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2013, 2014, 2015, 2016
3 Rafael Guglielmetti, rafael.guglielmetti@unifr.ch
4 */
5
6 /*
7 This file is part of CoxIter and AlVin.
8
9 These are free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as
11 published by the Free Software Foundation, either version 3 of the
13
14 CIVA is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with CIVA. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23 #ifndef __PARI_POLYNOMIALS_H__
24 #define __PARI_POLYNOMIALS_H__
25
26 #include <vector>
27 #include <pari/pari.h>
28 #ifdef _USE_LOCAL_GMP_
29 #include "gmpxx.h"
30 #else
31 #include <gmpxx.h>
32 #endif
33 using namespace std;
34
35 namespace PariPolynomials
36 {
44  GEN vector2t_POL( const vector< int >& iCoefficients );
45
53  GEN vector2t_POL( const vector< mpz_class >& iCoefficients );
54
62  vector< long int > t_POL2vector( GEN poly );
63 }
64
65 #endif
GEN vector2t_POL(const vector< int > &iCoefficients)
Definition: paripolynomials.cpp:27
vector< long int > t_POL2vector(GEN poly)
Definition: paripolynomials.cpp:60
Definition: paripolynomials.cpp:25