1
- from flint.flintlib.acb cimport acb_t, acb_ptr
2
- from flint.flintlib.dirichlet cimport dirichlet_group_t, dirichlet_char_t
3
- from flint.flintlib.flint cimport ulong, slong
4
- from flint.flintlib.acb_poly cimport acb_poly_t
5
- from flint.flintlib.fmpz cimport fmpz_t
6
- from flint.flintlib.arb_types cimport mag_t, mag_struct, arb_t, arb_ptr
7
- from flint.flintlib.acb_types cimport acb_struct, acb_srcptr
1
+ from flint.flintlib.acb_types cimport acb_dirichlet_hurwitz_precomp_t, acb_dirichlet_roots_t, acb_poly_t, acb_ptr, acb_srcptr, acb_t
2
+ from flint.flintlib.arb_types cimport arb_ptr, arb_srcptr, arb_t, mag_t
3
+ from flint.flintlib.arf_types cimport arf_t
4
+ from flint.flintlib.dirichlet cimport dirichlet_char_t, dirichlet_group_t
5
+ from flint.flintlib.flint cimport slong, ulong
8
6
from flint.flintlib.fmpq cimport fmpq_t
9
- from flint.flintlib.arf cimport arf_t
10
- from flint.flintlib.arb cimport arb_srcptr
7
+ from flint.flintlib.fmpz_types cimport fmpz_t
11
8
12
- cdef extern from " flint/acb_dirichlet.h" :
13
- ctypedef struct acb_dirichlet_roots_struct:
14
- ulong order
15
- ulong reduced_order
16
- acb_t z
17
- slong size
18
- slong depth
19
- acb_ptr Z
20
- int use_pow
21
-
22
- ctypedef acb_dirichlet_roots_struct acb_dirichlet_roots_t[1 ]
23
-
24
- ctypedef struct acb_dirichlet_hurwitz_precomp_struct:
25
- acb_struct s
26
- mag_struct err
27
- acb_ptr coeffs
28
- int deflate
29
- slong A
30
- slong N
31
- slong K
32
9
33
- ctypedef acb_dirichlet_hurwitz_precomp_struct acb_dirichlet_hurwitz_precomp_t[1 ]
34
10
35
-
36
- # from here on is parsed
11
+ cdef extern from " flint/acb_dirichlet.h" :
37
12
void acb_dirichlet_roots_init(acb_dirichlet_roots_t roots, ulong n, slong num, slong prec)
38
13
void acb_dirichlet_roots_clear(acb_dirichlet_roots_t roots)
39
14
void acb_dirichlet_root(acb_t res, const acb_dirichlet_roots_t roots, ulong k, slong prec)
@@ -51,13 +26,13 @@ cdef extern from "flint/acb_dirichlet.h":
51
26
void acb_dirichlet_zeta_rs_bound(mag_t err, const acb_t s, slong K)
52
27
void acb_dirichlet_zeta_rs_r(acb_t res, const acb_t s, slong K, slong prec)
53
28
void acb_dirichlet_zeta_rs(acb_t res, const acb_t s, slong K, slong prec)
54
- void acb_dirichlet_zeta_jet_rs(acb_t res, const acb_t s, slong len , slong prec)
29
+ void acb_dirichlet_zeta_jet_rs(acb_ptr res, const acb_t s, slong len , slong prec)
55
30
void acb_dirichlet_hurwitz(acb_t res, const acb_t s, const acb_t a, slong prec)
56
- void acb_dirichlet_hurwitz_precomp_init(acb_dirichlet_hurwitz_precomp_t pre, const acb_t s, int deflate, ulong A, ulong K, ulong N, slong prec)
31
+ void acb_dirichlet_hurwitz_precomp_init(acb_dirichlet_hurwitz_precomp_t pre, const acb_t s, int deflate, slong A, slong K, slong N, slong prec)
57
32
void acb_dirichlet_hurwitz_precomp_init_num(acb_dirichlet_hurwitz_precomp_t pre, const acb_t s, int deflate, double num_eval, slong prec)
58
33
void acb_dirichlet_hurwitz_precomp_clear(acb_dirichlet_hurwitz_precomp_t pre)
59
34
void acb_dirichlet_hurwitz_precomp_choose_param(ulong * A, ulong * K, ulong * N, const acb_t s, double num_eval, slong prec)
60
- void acb_dirichlet_hurwitz_precomp_bound(mag_t res, const acb_t s, ulong A, ulong K, ulong N)
35
+ void acb_dirichlet_hurwitz_precomp_bound(mag_t res, const acb_t s, slong A, slong K, slong N)
61
36
void acb_dirichlet_hurwitz_precomp_eval(acb_t res, const acb_dirichlet_hurwitz_precomp_t pre, ulong p, ulong q, slong prec)
62
37
void acb_dirichlet_lerch_phi_integral(acb_t res, const acb_t z, const acb_t s, const acb_t a, slong prec)
63
38
void acb_dirichlet_lerch_phi_direct(acb_t res, const acb_t z, const acb_t s, const acb_t a, slong prec)
@@ -69,10 +44,9 @@ cdef extern from "flint/acb_dirichlet.h":
69
44
void acb_dirichlet_pairing_char(acb_t res, const dirichlet_group_t G, const dirichlet_char_t a, const dirichlet_char_t b, slong prec)
70
45
void acb_dirichlet_gauss_sum_naive(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
71
46
void acb_dirichlet_gauss_sum_factor(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
72
- void acb_dirichlet_gauss_sum_order2(acb_t res, const dirichlet_char_t chi, slong prec)
47
+ void acb_dirichlet_gauss_sum_order2(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
73
48
void acb_dirichlet_gauss_sum_theta(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
74
49
void acb_dirichlet_gauss_sum(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
75
- void acb_dirichlet_gauss_sum_ui(acb_t res, const dirichlet_group_t G, ulong a, slong prec)
76
50
void acb_dirichlet_jacobi_sum_naive(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi1, const dirichlet_char_t chi2, slong prec)
77
51
void acb_dirichlet_jacobi_sum_factor(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi1, const dirichlet_char_t chi2, slong prec)
78
52
void acb_dirichlet_jacobi_sum_gauss(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi1, const dirichlet_char_t chi2, slong prec)
@@ -81,8 +55,8 @@ cdef extern from "flint/acb_dirichlet.h":
81
55
void acb_dirichlet_chi_theta_arb(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, const arb_t t, slong prec)
82
56
void acb_dirichlet_ui_theta_arb(acb_t res, const dirichlet_group_t G, ulong a, const arb_t t, slong prec)
83
57
ulong acb_dirichlet_theta_length(ulong q, const arb_t t, slong prec)
84
- void acb_dirichlet_qseries_powers_naive (acb_t res, const arb_t x, int p, const ulong * a, const acb_dirichlet_roots_t z, slong len , slong prec)
85
- void acb_dirichlet_qseries_powers_smallorder (acb_t res, const arb_t x, int p, const ulong * a, const acb_dirichlet_roots_t z, slong len , slong prec)
58
+ void acb_dirichlet_qseries_arb_powers_naive (acb_t res, const arb_t x, int p, const ulong * a, const acb_dirichlet_roots_t z, slong len , slong prec)
59
+ void acb_dirichlet_qseries_arb_powers_smallorder (acb_t res, const arb_t x, int p, const ulong * a, const acb_dirichlet_roots_t z, slong len , slong prec)
86
60
void acb_dirichlet_dft_conrey(acb_ptr w, acb_srcptr v, const dirichlet_group_t G, slong prec)
87
61
void acb_dirichlet_dft(acb_ptr w, acb_srcptr v, const dirichlet_group_t G, slong prec)
88
62
void acb_dirichlet_root_number_theta(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
@@ -98,7 +72,7 @@ cdef extern from "flint/acb_dirichlet.h":
98
72
void _acb_dirichlet_l_series(acb_ptr res, acb_srcptr s, slong slen, const dirichlet_group_t G, const dirichlet_char_t chi, int deflate, slong len , slong prec)
99
73
void acb_dirichlet_l_series(acb_poly_t res, const acb_poly_t s, const dirichlet_group_t G, const dirichlet_char_t chi, int deflate, slong len , slong prec)
100
74
void acb_dirichlet_hardy_theta(acb_ptr res, const acb_t t, const dirichlet_group_t G, const dirichlet_char_t chi, slong len , slong prec)
101
- void acb_dirichlet_hardy_z(acb_t res, const acb_t t, const dirichlet_group_t G, const dirichlet_char_t chi, slong len , slong prec)
75
+ void acb_dirichlet_hardy_z(acb_ptr res, const acb_t t, const dirichlet_group_t G, const dirichlet_char_t chi, slong len , slong prec)
102
76
void _acb_dirichlet_hardy_theta_series(acb_ptr res, acb_srcptr t, slong tlen, const dirichlet_group_t G, const dirichlet_char_t chi, slong len , slong prec)
103
77
void acb_dirichlet_hardy_theta_series(acb_poly_t res, const acb_poly_t t, const dirichlet_group_t G, const dirichlet_char_t chi, slong len , slong prec)
104
78
void _acb_dirichlet_hardy_z_series(acb_ptr res, acb_srcptr t, slong tlen, const dirichlet_group_t G, const dirichlet_char_t chi, slong len , slong prec)
0 commit comments