Skip to content

Commit 78709f3

Browse files
Merge pull request #2666 from videlec/sage-autogen-flint-3.5.0
Sage autogen flint 3.5.0
2 parents 4b6e2ca + ddf063b commit 78709f3

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

doc/source/fmpq_vec.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ Randomisation
3838
Bit sizes and heights
3939
--------------------------------------------------------------------------------
4040

41-
.. function:: void _fmpq_vec_max_height(fmpz_t height, const fmpq * vec, slong len);
41+
.. function:: void _fmpq_vec_max_height(fmpz_t height, const fmpq * vec, slong len)
4242

4343
Computes the maximum of the height of any coefficient of ``(vec, len)``,
4444
each height being computed by :func:`fmpq_height`.
4545

46-
.. function:: flint_bitcnt_t _fmpq_vec_max_height_bits(const fmpq * vec, slong len);
46+
.. function:: flint_bitcnt_t _fmpq_vec_max_height_bits(const fmpq * vec, slong len)
4747

4848
Computes the maximum number of bits of the height of any coefficient
4949
of ``(vec, len)``, each one being computed by :func:`fmpq_height_bits`.

doc/source/gr_poly.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ Multiplication algorithms
235235
algorithm with `O(n^{1.6})` complexity, the ring must overload :func:`_gr_poly_mul` to dispatch
236236
to :func:`_gr_poly_mul_karatsuba` above some cutoff.
237237

238-
.. function:: int _gr_poly_mul_toom33(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, gr_ctx_t ctx);
239-
int gr_poly_mul_toom33(gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, gr_ctx_t ctx);
238+
.. function:: int _gr_poly_mul_toom33(gr_ptr res, gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, gr_ctx_t ctx)
239+
int gr_poly_mul_toom33(gr_poly_t res, const gr_poly_t poly1, const gr_poly_t poly2, gr_ctx_t ctx)
240240

241241
Balanced Toom-3 multiplication with interpolation in five points,
242242
using the Bodrato evaluation scheme. Assumes commutativity and that the ring
@@ -1016,9 +1016,9 @@ Shift equivalence
10161016

10171017
Computes (if possible) *s* such that `p(x+s) = q(x)(1+O(x^2))`.
10181018

1019-
.. function:: int gr_poly_dispersion_resultant(fmpz_t disp, gr_vec_t disp_set, const gr_poly_t f, const gr_poly_t g, gr_ctx_t ctx);
1020-
int gr_poly_dispersion_factor(fmpz_t disp, gr_vec_t disp_set, const gr_poly_t f, const gr_poly_t g, gr_ctx_t ctx);
1021-
int gr_poly_dispersion(fmpz_t disp, gr_vec_t disp_set, const gr_poly_t f, const gr_poly_t g, gr_ctx_t ctx);
1019+
.. function:: int gr_poly_dispersion_resultant(fmpz_t disp, gr_vec_t disp_set, const gr_poly_t f, const gr_poly_t g, gr_ctx_t ctx)
1020+
int gr_poly_dispersion_factor(fmpz_t disp, gr_vec_t disp_set, const gr_poly_t f, const gr_poly_t g, gr_ctx_t ctx)
1021+
int gr_poly_dispersion(fmpz_t disp, gr_vec_t disp_set, const gr_poly_t f, const gr_poly_t g, gr_ctx_t ctx)
10221022

10231023
Computes the dispersion and/or the dispersion set of *f* and *g*.
10241024

@@ -1036,7 +1036,7 @@ Shift equivalence
10361036
The *resultant* version computes the integer roots of a bivariate resultant
10371037
and is mainly intended for testing.
10381038

1039-
.. function:: int gr_poly_dispersion_from_factors(fmpz_t disp, gr_vec_t disp_set, const gr_vec_t ffac, const gr_vec_t gfac, gr_ctx_t ctx);
1039+
.. function:: int gr_poly_dispersion_from_factors(fmpz_t disp, gr_vec_t disp_set, const gr_vec_t ffac, const gr_vec_t gfac, gr_ctx_t ctx)
10401040

10411041
Same as :func:`gr_poly_dispersion_factor` for nonzero *f* and *g* but takes
10421042
as input their nonconstant irreducible factors (without multiplicities)
@@ -1176,7 +1176,7 @@ Power series special functions
11761176
int _gr_poly_cos_series(gr_ptr c, gr_srcptr h, slong hlen, slong n, gr_ctx_t ctx)
11771177
int gr_poly_cos_series(gr_poly_t c, const gr_poly_t h, slong n, gr_ctx_t ctx)
11781178
int _gr_poly_cos_pi_series(gr_ptr c, gr_srcptr h, slong hlen, slong n, gr_ctx_t ctx)
1179-
int gr_poly_cos_pi_series(gr_poly_t c, const gr_poly_t h, slong n, gr_ctx_t ctx);
1179+
int gr_poly_cos_pi_series(gr_poly_t c, const gr_poly_t h, slong n, gr_ctx_t ctx)
11801180

11811181
Compute `s = \sin(h)`, `c = \cos(h)` as power series truncated to length `m`,
11821182
or `s = \sin(\pi h)`, `c = \cos(\pi h)` for the ``pi`` variants.

doc/source/gr_vec.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Sorting and searching
210210
--------------------------------------------------------------------------------
211211

212212
.. function:: truth_t _gr_vec_contains(gr_srcptr vec, slong len, gr_srcptr x, gr_ctx_t ctx)
213-
truth_t gr_vec_contains(const gr_vec_t vec, gr_srcptr x, gr_ctx_t ctx);
213+
truth_t gr_vec_contains(const gr_vec_t vec, gr_srcptr x, gr_ctx_t ctx)
214214

215215
.. function:: int _gr_vec_sort(gr_ptr vec, slong len, gr_ctx_t ctx)
216216
int gr_vec_sort(gr_vec_t dest, const gr_vec_t src, gr_ctx_t ctx)

doc/source/mpn_mod.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Vector functions
163163
int _mpn_mod_vec_mul_scalar(nn_ptr res, nn_srcptr x, slong len, nn_srcptr y, gr_ctx_t ctx)
164164
int _mpn_mod_scalar_mul_vec(nn_ptr res, nn_srcptr y, nn_srcptr x, slong len, gr_ctx_t ctx)
165165
int _mpn_mod_vec_addmul_scalar(nn_ptr res, nn_srcptr x, slong len, nn_srcptr y, gr_ctx_t ctx)
166-
int _mpn_mod_vec_submul_scalar(nn_ptr res, nn_srcptr x, slong len, nn_srcptr y, gr_ctx_t ctx);
166+
int _mpn_mod_vec_submul_scalar(nn_ptr res, nn_srcptr x, slong len, nn_srcptr y, gr_ctx_t ctx)
167167
int _mpn_mod_vec_dot(nn_ptr res, nn_srcptr initial, int subtract, nn_srcptr vec1, nn_srcptr vec2, slong len, gr_ctx_t ctx)
168168
int _mpn_mod_vec_dot_rev(nn_ptr res, nn_srcptr initial, int subtract, nn_srcptr vec1, nn_srcptr vec2, slong len, gr_ctx_t ctx)
169169

@@ -276,10 +276,10 @@ Division
276276
Polynomial division with remainder implemented using the basecase
277277
algorithm with delayed reductions.
278278

279-
.. function:: int _mpn_mod_poly_divrem_q1_preinv1_fmma(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx);
280-
int _mpn_mod_poly_divrem_q1_preinv1_fmma_precond(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx);
281-
int _mpn_mod_poly_divrem_q1_preinv1_karatsuba_precond(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx);
282-
int _mpn_mod_poly_divrem_q1_preinv1(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx);
279+
.. function:: int _mpn_mod_poly_divrem_q1_preinv1_fmma(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx)
280+
int _mpn_mod_poly_divrem_q1_preinv1_fmma_precond(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx)
281+
int _mpn_mod_poly_divrem_q1_preinv1_karatsuba_precond(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx)
282+
int _mpn_mod_poly_divrem_q1_preinv1(nn_ptr Q, nn_ptr R, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, nn_srcptr invL, gr_ctx_t ctx)
283283

284284
Algorithms for polynomial division in the special case where
285285
`lenA = lenB + 1`. Require `lenB \ge 2`.
@@ -298,7 +298,7 @@ GCD
298298
Polynomial GCD with automatic selection between basecase
299299
and HGCD algorithms.
300300

301-
.. function:: int _mpn_mod_poly_xgcd(slong * lenG, nn_ptr G, nn_ptr S, nn_ptr T, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, gr_ctx_t ctx);
301+
.. function:: int _mpn_mod_poly_xgcd(slong * lenG, nn_ptr G, nn_ptr S, nn_ptr T, nn_srcptr A, slong lenA, nn_srcptr B, slong lenB, gr_ctx_t ctx)
302302

303303
Polynomial extended GCD with automatic selection between basecase
304304
and HGCD algorithms.

0 commit comments

Comments
 (0)