Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 727d101

Browse files
author
Matthias Koeppe
committed
Merge #34257
2 parents 02ce997 + 9d89bdf commit 727d101

File tree

4 files changed

+56
-5
lines changed

4 files changed

+56
-5
lines changed

src/sage/libs/lcalc/lcalc_Lfunction.pxd

+31-4
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,41 @@ cdef class Lfunction:
115115

116116
cdef str _repr
117117

118+
118119
cdef class Lfunction_I(Lfunction):
119-
pass
120+
cdef void __init_fun(self, char *NAME, int what_type, dirichlet_coeff, long long Period, double q, c_Complex w, int A, double *g, c_Complex *l, int n_poles, c_Complex *p, c_Complex *r)
121+
cdef inline c_Complex __value(self,c_Complex s,int derivative)
122+
cdef inline c_Complex __hardy_z_function(self,c_Complex s)
123+
cdef int __compute_rank(self)
124+
cdef void __find_zeros_v(self, double T1, double T2, double stepsize, doublevec *result)
125+
cdef double __typedN(self, double T)
126+
cdef int __find_zeros(self, long count, long start, double max_refine, int rank, const char* message_stamp, doublevec *result)
127+
120128

121129
cdef class Lfunction_D(Lfunction):
122-
pass
130+
cdef void __init_fun(self, char *NAME, int what_type, dirichlet_coeff, long long Period, double q, c_Complex w, int A, double *g, c_Complex *l, int n_poles, c_Complex *p, c_Complex *r)
131+
cdef inline c_Complex __value(self,c_Complex s,int derivative)
132+
cdef inline c_Complex __hardy_z_function(self,c_Complex s)
133+
cdef inline int __compute_rank(self)
134+
cdef void __find_zeros_v(self, double T1, double T2, double stepsize, doublevec *result)
135+
cdef double __typedN(self, double T)
136+
cdef int __find_zeros(self, long count, long start,double max_refine, int rank, const char* message_stamp, doublevec *result)
137+
123138

124139
cdef class Lfunction_C(Lfunction):
125-
pass
140+
cdef void __init_fun(self, char *NAME, int what_type, dirichlet_coeff, long long Period, double q, c_Complex w, int A, double *g, c_Complex *l, int n_poles, c_Complex *p, c_Complex *r)
141+
cdef inline c_Complex __value(self,c_Complex s,int derivative)
142+
cdef inline c_Complex __hardy_z_function(self,c_Complex s)
143+
cdef inline int __compute_rank(self)
144+
cdef void __find_zeros_v(self, double T1, double T2, double stepsize, doublevec *result)
145+
cdef double __typedN(self, double T)
146+
cdef int __find_zeros(self, long count, long start, double max_refine, int rank, const char* message_stamp, doublevec *result)
147+
126148

127149
cdef class Lfunction_Zeta(Lfunction):
128-
pass
150+
cdef inline c_Complex __value(self,c_Complex s,int derivative)
151+
cdef inline c_Complex __hardy_z_function(self,c_Complex s)
152+
cdef inline int __compute_rank(self)
153+
cdef void __find_zeros_v(self, double T1, double T2, double stepsize, doublevec *result)
154+
cdef double __typedN(self, double T)
155+
cdef int __find_zeros(self, long count, long start, double max_refine, int rank, const char* message_stamp, doublevec *result)

src/sage/matroids/basis_matroid.pxd

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ cdef class BasisMatroid(BasisExchangeMatroid):
1414
cdef _bases_invariant3_var
1515
cdef SetSystem _bases_partition3_var
1616

17+
cdef bint __is_exchange_pair(self, long x, long y) except -1
18+
1719
cdef reset_current_basis(self)
1820

1921
cpdef _is_basis(self, X)

src/sage/matroids/linear_matroid.pxd

+22
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ cdef class LinearMatroid(BasisExchangeMatroid):
1010
cdef long *_prow
1111
cdef object _zero, _one
1212

13+
cdef bint __is_exchange_pair(self, long x, long y) except -1
14+
cdef int __exchange(self, long x, long y) except -1
15+
1316
cpdef _forget(self)
1417
cpdef base_ring(self)
1518
cpdef characteristic(self)
@@ -68,6 +71,9 @@ cdef class BinaryMatroid(LinearMatroid):
6871
cdef tuple _b_invariant, _b_partition
6972
cdef BinaryMatrix _b_projection, _eq_part
7073

74+
cdef bint __is_exchange_pair(self, long x, long y) except -1
75+
cdef int __exchange(self, long x, long y) except -1
76+
7177
cpdef base_ring(self)
7278
cpdef characteristic(self)
7379

@@ -76,6 +82,8 @@ cdef class BinaryMatroid(LinearMatroid):
7682
cpdef LeanMatrix _reduced_representation(self, B=*)
7783

7884
cdef __fundamental_cocircuit(self, bitset_t, long x)
85+
cdef __coclosure(self, bitset_t R, bitset_t F)
86+
cdef __exchange_value(self, long x, long y)
7987

8088
cpdef _is_isomorphic(self, other, certificate=*)
8189

@@ -99,6 +107,9 @@ cdef class TernaryMatroid(LinearMatroid):
99107
cdef tuple _t_invariant, _t_partition
100108
cdef TernaryMatrix _t_projection
101109

110+
cdef bint __is_exchange_pair(self, long x, long y) except -1
111+
cdef int __exchange(self, long x, long y) except -1
112+
102113
cpdef base_ring(self)
103114
cpdef characteristic(self)
104115

@@ -107,6 +118,8 @@ cdef class TernaryMatroid(LinearMatroid):
107118
cpdef LeanMatrix _reduced_representation(self, B=*)
108119

109120
cdef __fundamental_cocircuit(self, bitset_t, long x)
121+
cdef __coclosure(self, bitset_t R, bitset_t F)
122+
cdef __exchange_value(self, long x, long y)
110123

111124
cpdef _is_isomorphic(self, other, certificate=*)
112125

@@ -127,6 +140,9 @@ cdef class QuaternaryMatroid(LinearMatroid):
127140
cdef tuple _q_invariant, _q_partition
128141
cdef QuaternaryMatrix _q_projection
129142

143+
cdef bint __is_exchange_pair(self, long x, long y) except -1
144+
cdef int __exchange(self, long x, long y) except -1
145+
130146
cpdef base_ring(self)
131147
cpdef characteristic(self)
132148

@@ -135,6 +151,8 @@ cdef class QuaternaryMatroid(LinearMatroid):
135151
cpdef LeanMatrix _reduced_representation(self, B=*)
136152

137153
cdef __fundamental_cocircuit(self, bitset_t, long x)
154+
cdef __coclosure(self, bitset_t R, bitset_t F)
155+
cdef __exchange_value(self, long x, long y)
138156

139157
cpdef _is_isomorphic(self, other, certificate=*)
140158

@@ -153,6 +171,10 @@ cdef class RegularMatroid(LinearMatroid):
153171
cdef _r_projection, _r_hypergraph
154172
cdef _hypergraph_vertex_partition, _hypergraph_tuples
155173

174+
cdef bint __is_exchange_pair(self, long x, long y) except -1
175+
cdef int __exchange(self, long x, long y) except -1
176+
cdef __exchange_value(self, long x, long y)
177+
156178
cpdef base_ring(self)
157179
cpdef characteristic(self)
158180

src/sage/rings/polynomial/polynomial_element.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cdef class Polynomial_generic_dense(Polynomial):
5353
cpdef list list(self, bint copy=*)
5454

5555
cdef class Polynomial_generic_dense_inexact(Polynomial_generic_dense):
56-
pass
56+
cdef int __normalize(self) except -1
5757

5858
cpdef is_Polynomial(f)
5959
cpdef Polynomial generic_power_trunc(Polynomial p, Integer n, long prec)

0 commit comments

Comments
 (0)