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
2
2
from flint.flintlib.types.fmpq cimport fmpq_poly_t, fmpq_struct, fmpq_t
3
3
from flint.flintlib.types.fmpz cimport fmpz_mat_t, fmpz_poly_t
4
4
@@ -7,7 +7,6 @@ from flint.flintlib.types.fmpz cimport fmpz_mat_t, fmpz_poly_t
7
7
8
8
9
9
cdef extern from " flint/arith.h" :
10
- void arith_primorial(fmpz_t res, slong n)
11
10
void _arith_harmonic_number(fmpz_t num, fmpz_t den, slong n)
12
11
void arith_harmonic_number(fmpq_t x, slong n)
13
12
void arith_stirling_number_1u(fmpz_t s, ulong n, ulong k)
@@ -28,11 +27,11 @@ cdef extern from "flint/arith.h":
28
27
void arith_bell_number_vec(fmpz_struct * b, slong n)
29
28
void arith_bell_number_vec_recursive(fmpz_struct * b, slong n)
30
29
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)
36
35
double arith_bell_number_size(ulong n)
37
36
void _arith_bernoulli_number(fmpz_t num, fmpz_t den, ulong n)
38
37
void arith_bernoulli_number(fmpq_t x, ulong n)
@@ -47,22 +46,14 @@ cdef extern from "flint/arith.h":
47
46
void arith_euler_number_vec(fmpz_struct * res, slong n)
48
47
double arith_euler_number_size(ulong n)
49
48
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)
53
49
void arith_divisors(fmpz_poly_t res, const fmpz_t n)
54
50
void arith_ramanujan_tau(fmpz_t res, const fmpz_t n)
55
51
void arith_ramanujan_tau_series(fmpz_poly_t res, slong n)
56
52
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)
62
53
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)
64
55
# 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)
66
57
# void arith_number_of_partitions_mpfr(mpfr_t x, ulong n)
67
58
void arith_number_of_partitions(fmpz_t x, ulong n)
68
59
void arith_sum_of_squares(fmpz_t r, ulong k, const fmpz_t n)
0 commit comments