@@ -27,15 +27,15 @@ cdef extern from "gmp.h":
2727
2828ctypedef long fmpz_struct
2929
30- cdef extern from " flint.h" :
30+ cdef extern from " flint/flint .h" :
3131 ctypedef void * flint_rand_t
3232 void flint_randinit(flint_rand_t state)
3333 void flint_randclear(flint_rand_t state)
3434 void flint_set_num_threads(long )
3535 long flint_get_num_threads()
3636 void flint_cleanup()
3737
38- cdef extern from " nmod_vec.h" :
38+ cdef extern from " flint/ nmod_vec.h" :
3939 ctypedef struct nmod_t:
4040 mp_limb_t n
4141 mp_limb_t ninv
@@ -47,7 +47,7 @@ cdef extern from "nmod_vec.h":
4747 mp_limb_t nmod_mul(mp_limb_t a, mp_limb_t b, nmod_t mod)
4848 mp_limb_t nmod_div(mp_limb_t a, mp_limb_t b, nmod_t mod)
4949
50- cdef extern from " nmod_poly.h" :
50+ cdef extern from " flint/ nmod_poly.h" :
5151 ctypedef struct nmod_poly_struct:
5252 mp_ptr coeffs
5353 long alloc
@@ -129,7 +129,7 @@ cdef extern from "nmod_poly.h":
129129 void nmod_poly_factor_init(nmod_poly_factor_t fac)
130130 void nmod_poly_factor_clear(nmod_poly_factor_t fac)
131131
132- cdef extern from " nmod_mat.h" :
132+ cdef extern from " flint/ nmod_mat.h" :
133133 ctypedef struct nmod_mat_struct:
134134 mp_limb_t * entries
135135 long r
@@ -178,7 +178,7 @@ cdef extern from "nmod_mat.h":
178178 long nmod_mat_rref(nmod_mat_t A)
179179 long nmod_mat_nullspace(nmod_mat_t X, nmod_mat_t A)
180180
181- cdef extern from " fmpz.h" :
181+ cdef extern from " flint/ fmpz.h" :
182182 ctypedef fmpz_struct fmpz_t[1 ]
183183 int COEFF_IS_MPZ(fmpz_struct v)
184184 void fmpz_init(fmpz_t op)
@@ -268,7 +268,7 @@ cdef extern from "fmpz.h":
268268 void fmpz_rfac_uiui(fmpz_t r, ulong x, ulong n)
269269 void fmpz_primorial(fmpz_t res, ulong n)
270270
271- cdef extern from " fmpz_factor.h" :
271+ cdef extern from " flint/ fmpz_factor.h" :
272272 ctypedef struct fmpz_factor_struct:
273273 int sign
274274 fmpz_struct * p
@@ -280,7 +280,7 @@ cdef extern from "fmpz_factor.h":
280280 void fmpz_factor_clear(fmpz_factor_t factor)
281281 void fmpz_factor(fmpz_factor_t factor, fmpz_t n)
282282
283- cdef extern from " fmpz_poly.h" :
283+ cdef extern from " flint/ fmpz_poly.h" :
284284 ctypedef struct fmpz_poly_struct:
285285 fmpz_struct * coeffs
286286 long alloc
@@ -390,14 +390,14 @@ cdef extern from "fmpz_poly.h":
390390 void fmpz_poly_cos_minpoly(fmpz_poly_t, ulong)
391391 void fmpz_poly_swinnerton_dyer(fmpz_poly_t, ulong)
392392
393- cdef extern from " fmpz_poly_factor.h" :
393+ cdef extern from " flint/ fmpz_poly_factor.h" :
394394 void fmpz_poly_factor_init(fmpz_poly_factor_t fac)
395395 void fmpz_poly_factor_clear(fmpz_poly_factor_t fac)
396396 void fmpz_poly_factor_zassenhaus(fmpz_poly_factor_t fac, fmpz_poly_t G)
397397 void fmpz_poly_factor(fmpz_poly_factor_t fac, fmpz_poly_t G)
398398 void fmpz_poly_factor_squarefree(fmpz_poly_factor_t fac, fmpz_poly_t G)
399399
400- cdef extern from " fmpz_mat.h" :
400+ cdef extern from " flint/ fmpz_mat.h" :
401401 ctypedef struct fmpz_mat_struct:
402402 fmpz_struct * entries
403403 long r
@@ -448,7 +448,7 @@ cdef extern from "fmpz_mat.h":
448448 void fmpz_mat_snf(fmpz_mat_t S, const fmpz_mat_t A)
449449 int fmpz_mat_is_in_snf(const fmpz_mat_t A)
450450
451- cdef extern from " fmpz_lll.h" :
451+ cdef extern from " flint/ fmpz_lll.h" :
452452 ctypedef struct fmpz_lll_struct:
453453 double delta
454454 double eta
@@ -461,7 +461,7 @@ cdef extern from "fmpz_lll.h":
461461 void fmpz_lll(fmpz_mat_t B, fmpz_mat_t U, const fmpz_lll_t fl)
462462
463463
464- cdef extern from " fmpq.h" :
464+ cdef extern from " flint/ fmpq.h" :
465465 ctypedef struct fmpq_struct:
466466 fmpz_struct num
467467 fmpz_struct den
@@ -506,7 +506,7 @@ cdef extern from "fmpq.h":
506506 void fmpq_next_signed_minimal(fmpq_t res, fmpq_t x)
507507 void fmpq_harmonic_ui(fmpq_t res, ulong n)
508508
509- cdef extern from " fmpq_poly.h" :
509+ cdef extern from " flint/ fmpq_poly.h" :
510510 ctypedef struct fmpq_poly_struct:
511511 fmpz_struct * coeffs
512512 fmpz_t den
@@ -620,7 +620,7 @@ cdef extern from "fmpq_poly.h":
620620 void fmpq_poly_compose_series(fmpq_poly_t res, fmpq_poly_t poly1, fmpq_poly_t poly2, long n)
621621 void fmpq_poly_revert_series(fmpq_poly_t res, fmpq_poly_t poly1, long n)
622622
623- cdef extern from " fmpq_mat.h" :
623+ cdef extern from " flint/ fmpq_mat.h" :
624624 ctypedef struct fmpq_mat_struct:
625625 fmpq_struct * entries
626626 long r
@@ -672,7 +672,7 @@ cdef extern from "fmpq_mat.h":
672672 long fmpq_mat_rref(fmpq_mat_t B, fmpq_mat_t A)
673673 void fmpq_mat_transpose(fmpq_mat_t B, fmpq_mat_t A)
674674
675- cdef extern from " arith.h" :
675+ cdef extern from " flint/ arith.h" :
676676 void arith_number_of_partitions(fmpz_t res, ulong n)
677677 int arith_moebius_mu(fmpz_t n)
678678 void arith_divisor_sigma(fmpz_t v, fmpz_t n, ulong k)
0 commit comments