From 0bfb796c46a8ab9b3c7d3db032ca45e466a0a1cd Mon Sep 17 00:00:00 2001 From: Vincent Delecroix Date: Mon, 16 Oct 2023 07:53:33 +0200 Subject: [PATCH 1/2] remove fmpz_mpoly_select_pop_pair from doc --- doc/source/fmpz_mpoly.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/source/fmpz_mpoly.rst b/doc/source/fmpz_mpoly.rst index 8d3b1c9c0a..873c1d0528 100644 --- a/doc/source/fmpz_mpoly.rst +++ b/doc/source/fmpz_mpoly.rst @@ -984,12 +984,6 @@ in place of monic rational polynomials. This produces a reduced Gröbner basis, which is unique (up to the sort order of the entries in the vector). -.. function:: pair_t fmpz_mpoly_select_pop_pair(pairs_t pairs, const fmpz_mpoly_vec_t G, const fmpz_mpoly_ctx_t ctx) - - Given a vector *pairs* of indices `(i, j)` into *G*, selects one pair - for elimination in Buchberger's algorithm. The pair is removed - from *pairs* and returned. - .. function:: void fmpz_mpoly_buchberger_naive(fmpz_mpoly_vec_t G, const fmpz_mpoly_vec_t F, const fmpz_mpoly_ctx_t ctx) Sets *G* to a Gröbner basis for *F*, computed using From 224f4e3e0e8397dd9f1a708650f05c51fc13779c Mon Sep 17 00:00:00 2001 From: Vincent Delecroix Date: Mon, 16 Oct 2023 07:53:53 +0200 Subject: [PATCH 2/2] declare nmod_mat_entry as macro in doc --- doc/source/nmod_mat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/nmod_mat.rst b/doc/source/nmod_mat.rst index 24dc1fcb40..f5678fa2db 100644 --- a/doc/source/nmod_mat.rst +++ b/doc/source/nmod_mat.rst @@ -81,7 +81,7 @@ Basic properties and manipulation -------------------------------------------------------------------------------- -.. function:: MACRO nmod_mat_entry(nmod_mat_t mat, slong i, slong j) +.. macro:: nmod_mat_entry(mat, i, j) Directly accesses the entry in ``mat`` in row `i` and column `j`, indexed from zero. No bounds checking is performed. This macro can be