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
86from 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
118
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
329
33- ctypedef acb_dirichlet_hurwitz_precomp_struct acb_dirichlet_hurwitz_precomp_t[1 ]
3410
35-
36- # from here on is parsed
11+ cdef extern from " flint/acb_dirichlet.h" :
3712 void acb_dirichlet_roots_init(acb_dirichlet_roots_t roots, ulong n, slong num, slong prec)
3813 void acb_dirichlet_roots_clear(acb_dirichlet_roots_t roots)
3914 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":
5126 void acb_dirichlet_zeta_rs_bound(mag_t err, const acb_t s, slong K)
5227 void acb_dirichlet_zeta_rs_r(acb_t res, const acb_t s, slong K, slong prec)
5328 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)
5530 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)
5732 void acb_dirichlet_hurwitz_precomp_init_num(acb_dirichlet_hurwitz_precomp_t pre, const acb_t s, int deflate, double num_eval, slong prec)
5833 void acb_dirichlet_hurwitz_precomp_clear(acb_dirichlet_hurwitz_precomp_t pre)
5934 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)
6136 void acb_dirichlet_hurwitz_precomp_eval(acb_t res, const acb_dirichlet_hurwitz_precomp_t pre, ulong p, ulong q, slong prec)
6237 void acb_dirichlet_lerch_phi_integral(acb_t res, const acb_t z, const acb_t s, const acb_t a, slong prec)
6338 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":
6944 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)
7045 void acb_dirichlet_gauss_sum_naive(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
7146 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)
7348 void acb_dirichlet_gauss_sum_theta(acb_t res, const dirichlet_group_t G, const dirichlet_char_t chi, slong prec)
7449 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)
7650 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)
7751 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)
7852 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":
8155 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)
8256 void acb_dirichlet_ui_theta_arb(acb_t res, const dirichlet_group_t G, ulong a, const arb_t t, slong prec)
8357 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)
8660 void acb_dirichlet_dft_conrey(acb_ptr w, acb_srcptr v, const dirichlet_group_t G, slong prec)
8761 void acb_dirichlet_dft(acb_ptr w, acb_srcptr v, const dirichlet_group_t G, slong prec)
8862 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":
9872 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)
9973 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)
10074 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)
10276 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)
10377 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)
10478 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