1- from flint.flintlib.types.flint cimport fmpz_struct, fmpz_t, mp_limb_t, mp_ptr, nmod_t , slong, ulong
1+ from flint.flintlib.types.flint cimport fmpz_struct, fmpz_t, nmod_t, nn_ptr , slong, ulong
22from flint.flintlib.types.fmpq cimport fmpq_poly_t, fmpq_struct, fmpq_t
33from flint.flintlib.types.fmpz cimport fmpz_mat_t, fmpz_poly_t
44
@@ -7,7 +7,6 @@ from flint.flintlib.types.fmpz cimport fmpz_mat_t, fmpz_poly_t
77
88
99cdef extern from " flint/arith.h" :
10- void arith_primorial(fmpz_t res, slong n)
1110 void _arith_harmonic_number(fmpz_t num, fmpz_t den, slong n)
1211 void arith_harmonic_number(fmpq_t x, slong n)
1312 void arith_stirling_number_1u(fmpz_t s, ulong n, ulong k)
@@ -28,11 +27,11 @@ cdef extern from "flint/arith.h":
2827 void arith_bell_number_vec(fmpz_struct * b, slong n)
2928 void arith_bell_number_vec_recursive(fmpz_struct * b, slong n)
3029 void arith_bell_number_vec_multi_mod(fmpz_struct * b, slong n)
31- mp_limb_t arith_bell_number_nmod(ulong n, nmod_t mod)
32- void arith_bell_number_nmod_vec(mp_ptr b, slong n, nmod_t mod)
33- void arith_bell_number_nmod_vec_recursive(mp_ptr b, slong n, nmod_t mod)
34- void arith_bell_number_nmod_vec_ogf(mp_ptr b, slong n, nmod_t mod)
35- int arith_bell_number_nmod_vec_series(mp_ptr b, slong n, nmod_t mod)
30+ ulong arith_bell_number_nmod(ulong n, nmod_t mod)
31+ void arith_bell_number_nmod_vec(nn_ptr b, slong n, nmod_t mod)
32+ void arith_bell_number_nmod_vec_recursive(nn_ptr b, slong n, nmod_t mod)
33+ void arith_bell_number_nmod_vec_ogf(nn_ptr b, slong n, nmod_t mod)
34+ int arith_bell_number_nmod_vec_series(nn_ptr b, slong n, nmod_t mod)
3635 double arith_bell_number_size(ulong n)
3736 void _arith_bernoulli_number(fmpz_t num, fmpz_t den, ulong n)
3837 void arith_bernoulli_number(fmpq_t x, ulong n)
@@ -47,22 +46,14 @@ cdef extern from "flint/arith.h":
4746 void arith_euler_number_vec(fmpz_struct * res, slong n)
4847 double arith_euler_number_size(ulong n)
4948 void arith_euler_polynomial(fmpq_poly_t poly, ulong n)
50- void arith_euler_phi(fmpz_t res, const fmpz_t n)
51- int arith_moebius_mu(const fmpz_t n)
52- void arith_divisor_sigma(fmpz_t res, ulong k, const fmpz_t n)
5349 void arith_divisors(fmpz_poly_t res, const fmpz_t n)
5450 void arith_ramanujan_tau(fmpz_t res, const fmpz_t n)
5551 void arith_ramanujan_tau_series(fmpz_poly_t res, slong n)
5652 void arith_landau_function_vec(fmpz_struct * res, slong len )
57- void arith_dedekind_sum_naive(fmpq_t s, const fmpz_t h, const fmpz_t k)
58- double arith_dedekind_sum_coprime_d(double h, double k)
59- void arith_dedekind_sum_coprime_large(fmpq_t s, const fmpz_t h, const fmpz_t k)
60- void arith_dedekind_sum_coprime(fmpq_t s, const fmpz_t h, const fmpz_t k)
61- void arith_dedekind_sum(fmpq_t s, const fmpz_t h, const fmpz_t k)
6253 void arith_number_of_partitions_vec(fmpz_struct * res, slong len )
63- void arith_number_of_partitions_nmod_vec(mp_ptr res, slong len , nmod_t mod)
54+ void arith_number_of_partitions_nmod_vec(nn_ptr res, slong len , nmod_t mod)
6455 # void trig_prod_init(trig_prod_t prod)
65- # void arith_hrr_expsum_factored(trig_prod_t prod, mp_limb_t k, mp_limb_t n)
56+ # void arith_hrr_expsum_factored(trig_prod_t prod, ulong k, ulong n)
6657 # void arith_number_of_partitions_mpfr(mpfr_t x, ulong n)
6758 void arith_number_of_partitions(fmpz_t x, ulong n)
6859 void arith_sum_of_squares(fmpz_t r, ulong k, const fmpz_t n)
0 commit comments