AlVin  1.0
A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
rcyclotomic7integer_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 RCYCLOTOMIC7INTEGER_VFS_H
32 #define RCYCLOTOMIC7INTEGER_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 "rcyclotomic7integer.h"
43 
45 {
46  private:
47  RCyclotomic7Integer rciAlpha0;
48  RCyclotomic7Integer rciMinusAlpha0;
49  RCyclotomic7Integer* rciPossibleNorms2_max;
50 
51  public:
52  RCyclotomic7Integer_VFs( vector< AlgebraicInteger* > aiPossibleNorms2, const RCyclotomic7Integer& rciAlpha0 );
54 
55  private:
56  void computeNextAlVinFractions();
57 };
58 
59 #endif // RCYCLOTOMIC7INTEGER_VFS_H
RC7 and their operations.
Definition: rcyclotomic7integer.h:44
Enumerations of fractions.
Definition: rcyclotomic7integer_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