AlVin  1.0
A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
quadraticinteger_alvinfractions.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2014, 2015, 2016
3 Rafael Guglielmetti, rafael.guglielmetti@unifr.ch
4 */
5 
6 /*
7 This file is part of AlVin.
8 
9 CoxIter is 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
12 License, or (at your option) any later version.
13 
14 CoxIter 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 AlVin. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
31 #ifndef QUADRATICINTEGER_VFS_H
32 #define QUADRATICINTEGER_VFS_H
33 
34 #include <algorithm>
35 #include <vector>
36 #include <iostream>
37 #include <cmath>
38 
39 using namespace std;
40 
41 #include "alvinfractions.h"
42 #include "quadraticinteger.h"
43 
45 {
46  private:
47  QuadraticInteger qiAlpha0;
48  QuadraticInteger* qiPossibleNorms2_max;
49  public:
50  QuadraticInteger_VFs( vector< AlgebraicInteger* > aiPossibleNorms2, const QuadraticInteger& qiAlpha0 );
52 
53  private:
54  void computeNextAlVinFractions();
55 };
56 
57 #endif // QUADRATICINTEGER_VFS_H
Quadratic integers.
Definition: quadraticinteger.h:44
Enumeration of fractions.
Definition: quadraticinteger_alvinfractions.h:44
This class represents a set of possible fractions x_0^2 / (e,e) We generate series of the type: (x0 +...
Definition: alvinfractions.h:46