-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlf1.h
52 lines (41 loc) · 1.16 KB
/
lf1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// lf1.h : class for integrating newforms
#if !defined(_LF1_H)
#define _LF1_H 1 //flags that this file has been included
#include "newforms.h"
class period_via_lf1chi {
private:
Quad N; int debug;
long limitnorm;
double factor, sum;
Quad lambda; Quadlist lambdares;
vector<int> chitable;
int chi(const Quad& n) {return chitable[lambdares.locate(n%lambda)];}
int nap; vector<long> aplist;
rational ratio;
double lf1chivalue, period;
void use(const Quad& n, int an);
void add(const Quad& n, int pindex, int y, int z);
public:
explicit period_via_lf1chi (newform* f, int db=0);
double getlf1chivalue() {return lf1chivalue;}
double getperiod() {return period;}
rational getratio(){/* cout<<"<getratio: "<<ratio<<">";*/ return ratio;}
};
/*
class periods_direct {
private:
int N,limit;
double theta1,theta2,efactor;
Complex sum;
int nap; longlist aplist; longlist primelist;
Complex *periods;
void use(int n, int an);
void add(int n, int pindex, int y, int z);
public:
periods_direct (h1newform* f);
~periods_direct () {delete periods;}
Complex* getperiods() {return periods;}
};
Complex epi(double);
*/
#endif