Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
241782 views
1
/*********************************************************************
2
3
(c) Copyright 2006-2010 Salman Baig and Chris Hall
4
5
This file is part of ELLFF
6
7
ELLFF is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
ELLFF is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20
*********************************************************************/
21
22
#ifndef EULER_H
23
#define EULER_H
24
25
#include <NTL/lzz_p.h>
26
#include <NTL/lzz_pE.h>
27
#include <NTL/lzz_pX.h>
28
#include <NTL/lzz_pEX.h>
29
#include <NTL/ZZX.h>
30
31
#include "ell_surface.h"
32
#include "lzz_pEratX.h"
33
34
NTL_CLIENT
35
36
long trace_tau(zz_pE& tau, ell_surfaceInfoT::affine_model& model);
37
38
void euler_table(long *table, long min_tau, long max_tau, int euler_deg=-1);
39
void euler_table(long *table, long min_tau, long max_tau, int euler_deg);
40
41
void twist_table(const zz_pEX& f, long *untwisted_table, long *twisted_table,
42
long min_tau, long max_tau);
43
44
void pullback_table(const zz_pEX& finite_disc, const zz_pEX& infinite_disc,
45
const zz_pEratX& f, long *base_table, long *pullback_table,
46
long min_tau, long max_tau);
47
48
void sum_table(ZZ& sum, long *table, long min, long max);
49
50
void compute_c_n(ZZ **b, ZZ **c, int n);
51
void compute_b_n(ZZ& b_n);
52
53
#endif // EULER_H
54
55