@@ -2,15 +2,30 @@ from flint.flintlib.acb cimport acb_t, acb_srcptr, acb_ptr
22from flint.flintlib.acb_poly cimport acb_poly_struct, acb_poly_t
33from flint.flintlib.arb cimport arb_t, arb_ptr, arb_srcptr
44from flint.flintlib.flint cimport ulong, slong, flint_rand_t
5- from flint.flintlib.fmpz_mat cimport fmpz_mat_t
5+ from flint.flintlib.fmpz_mat cimport fmpz_mat_t, fmpz_mat_struct
66from flint.flintlib.acb_mat cimport acb_mat_t
77from flint.flintlib.arb_mat cimport arb_mat_t
88from flint.flintlib.arf cimport arf_t
99
1010
11- # unimported types {'acb_theta_eld_t', 'acb_theta_naive_worker_t', 'acb_theta_ql_worker_t'}
12-
1311cdef extern from " flint/acb_theta.h" :
12+ ctypedef struct acb_theta_eld_struct:
13+ slong dim
14+ slong ambient_dim
15+ slong * last_coords
16+ slong min
17+ slong mid
18+ slong max
19+ slong nr
20+ slong nl
21+ acb_theta_eld_struct * rchildren
22+ acb_theta_eld_struct * lchildren
23+ slong nb_pts, nb_border
24+ slong * box
25+ ctypedef acb_theta_eld_struct acb_theta_eld_t[1 ]
26+ ctypedef void (* acb_theta_naive_worker_t)(acb_ptr, acb_srcptr, acb_srcptr, const slong * , slong, const acb_t, const slong * , slong, slong, slong, slong)
27+ ctypedef int (* acb_theta_ql_worker_t)(acb_ptr, acb_srcptr, acb_srcptr, arb_srcptr, arb_srcptr, const acb_mat_t, slong, slong)
28+
1429 void acb_theta_all(acb_ptr th, acb_srcptr z, const acb_mat_t tau, int sqr, slong prec)
1530 void acb_theta_naive_fixed_ab(acb_ptr th, ulong ab, acb_srcptr zs, slong nb, const acb_mat_t tau, slong prec)
1631 void acb_theta_naive_all(acb_ptr th, acb_srcptr zs, slong nb, const acb_mat_t tau, slong prec)
0 commit comments