AlVin  1.0
A C++ implementation of the Vinberg's algorithm for Q, Q( sqrt(d) ) and Q( cos(2 pi / 7) )
rcyclotomic7integer_constants.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 
30 #ifndef RCYCLOTOMIC7INTEGER_CONSTANTS_H
31 #define RCYCLOTOMIC7INTEGER_CONSTANTS_H
32 
33 #include "rcyclotomic7integer.h"
34 
35 #include <algorithm>
36 #include <gaol/gaol.h>
37 #include <map>
38 
40 
42 {
43  extern const double dl1;
44  extern const double dl2;
45  extern const double dl3;
46 
47  extern const interval gaol_l1;
48  extern const interval gaol_l2;
49  extern const interval gaol_l3;
50 
51  extern map< unsigned int, vector< RCyclotomic7Integer > > iPrimesDecomposition;
52  extern const unsigned int iPrimesDecomposition_max;
53 }
54 
55 #endif // RCYCLOTOMIC7INTEGER_CONSTANTS_H
const double dl3
2 * cos( 6 * pi / 7 )
const double dl1
2 * cos( 2 * pi / 7 )
const interval gaol_l3
2 * cos( 6 * pi / 7 )
const double dl2
2 * cos( 4 * pi / 7 )
Definition: rcyclotomic7integer_constants.cpp:3
RC7 and their operations.
Definition: rcyclotomic7integer.h:44
const interval gaol_l2
2 * cos( 4 * pi / 7 )
const interval gaol_l1
2 * cos( 2 * pi / 7 )