forked from flintlib/python-flint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharith.pxd
More file actions
60 lines (57 loc) · 3.56 KB
/
arith.pxd
File metadata and controls
60 lines (57 loc) · 3.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from flint.flintlib.types.flint cimport fmpz_struct, fmpz_t, nmod_t, nn_ptr, slong, ulong
from flint.flintlib.types.fmpq cimport fmpq_poly_t, fmpq_struct, fmpq_t
from flint.flintlib.types.fmpz cimport fmpz_mat_t, fmpz_poly_t
# unknown type mpfr_t
# unknown type trig_prod_t
cdef extern from "flint/arith.h":
void _arith_harmonic_number(fmpz_t num, fmpz_t den, slong n)
void arith_harmonic_number(fmpq_t x, slong n)
void arith_stirling_number_1u(fmpz_t s, ulong n, ulong k)
void arith_stirling_number_1(fmpz_t s, ulong n, ulong k)
void arith_stirling_number_2(fmpz_t s, ulong n, ulong k)
void arith_stirling_number_1u_vec(fmpz_struct * row, ulong n, slong klen)
void arith_stirling_number_1_vec(fmpz_struct * row, ulong n, slong klen)
void arith_stirling_number_2_vec(fmpz_struct * row, ulong n, slong klen)
void arith_stirling_number_1u_vec_next(fmpz_struct * row, const fmpz_struct * prev, slong n, slong klen)
void arith_stirling_number_1_vec_next(fmpz_struct * row, const fmpz_struct * prev, slong n, slong klen)
void arith_stirling_number_2_vec_next(fmpz_struct * row, const fmpz_struct * prev, slong n, slong klen)
void arith_stirling_matrix_1u(fmpz_mat_t mat)
void arith_stirling_matrix_1(fmpz_mat_t mat)
void arith_stirling_matrix_2(fmpz_mat_t mat)
void arith_bell_number(fmpz_t b, ulong n)
void arith_bell_number_dobinski(fmpz_t res, ulong n)
void arith_bell_number_multi_mod(fmpz_t res, ulong n)
void arith_bell_number_vec(fmpz_struct * b, slong n)
void arith_bell_number_vec_recursive(fmpz_struct * b, slong n)
void arith_bell_number_vec_multi_mod(fmpz_struct * b, slong n)
ulong arith_bell_number_nmod(ulong n, nmod_t mod)
void arith_bell_number_nmod_vec(nn_ptr b, slong n, nmod_t mod)
void arith_bell_number_nmod_vec_recursive(nn_ptr b, slong n, nmod_t mod)
void arith_bell_number_nmod_vec_ogf(nn_ptr b, slong n, nmod_t mod)
int arith_bell_number_nmod_vec_series(nn_ptr b, slong n, nmod_t mod)
double arith_bell_number_size(ulong n)
void _arith_bernoulli_number(fmpz_t num, fmpz_t den, ulong n)
void arith_bernoulli_number(fmpq_t x, ulong n)
void _arith_bernoulli_number_vec(fmpz_struct * num, fmpz_struct * den, slong n)
void arith_bernoulli_number_vec(fmpq_struct * x, slong n)
void arith_bernoulli_number_denom(fmpz_t den, ulong n)
double arith_bernoulli_number_size(ulong n)
void arith_bernoulli_polynomial(fmpq_poly_t poly, ulong n)
void _arith_bernoulli_number_vec_recursive(fmpz_struct * num, fmpz_struct * den, slong n)
void _arith_bernoulli_number_vec_multi_mod(fmpz_struct * num, fmpz_struct * den, slong n)
void arith_euler_number(fmpz_t res, ulong n)
void arith_euler_number_vec(fmpz_struct * res, slong n)
double arith_euler_number_size(ulong n)
void arith_euler_polynomial(fmpq_poly_t poly, ulong n)
void arith_divisors(fmpz_poly_t res, const fmpz_t n)
void arith_ramanujan_tau(fmpz_t res, const fmpz_t n)
void arith_ramanujan_tau_series(fmpz_poly_t res, slong n)
void arith_landau_function_vec(fmpz_struct * res, slong len)
void arith_number_of_partitions_vec(fmpz_struct * res, slong len)
void arith_number_of_partitions_nmod_vec(nn_ptr res, slong len, nmod_t mod)
# void trig_prod_init(trig_prod_t prod)
# void arith_hrr_expsum_factored(trig_prod_t prod, ulong k, ulong n)
# void arith_number_of_partitions_mpfr(mpfr_t x, ulong n)
void arith_number_of_partitions(fmpz_t x, ulong n)
void arith_sum_of_squares(fmpz_t r, ulong k, const fmpz_t n)
void arith_sum_of_squares_vec(fmpz_struct * r, ulong k, slong n)