Skip to content

Commit

Permalink
Merge pull request #1655 from videlec/doc3
Browse files Browse the repository at this point in the history
Some fixes in documentation
  • Loading branch information
fredrik-johansson authored Dec 11, 2023
2 parents cbc6c96 + e1ecaf6 commit 6ddc269
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/source/fft_small.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Polynomial arithmetic
---------------------------------------------------------------------------------

.. function:: void _nmod_poly_mul_mid_mpn_ctx(ulong * z, ulong zl, ulong zh, const ulong * a, ulong an, const ulong * b, ulong bn, nmod_t mod, mpn_ctx_t R)
void _nmod_poly_mul_mid_default_mpn_ctx(z res, slong zl, slong zh, mp_srcptr a, slong an, mp_srcptr b, slong bn, nmod_t mod);
void _nmod_poly_mul_mid_default_mpn_ctx(mp_ptr res, slong zl, slong zh, mp_srcptr a, slong an, mp_srcptr b, slong bn, nmod_t mod)

Writes to ``z`` the middle product containing coefficients in the
range `[zl, zh)` of the product of the polynomials ``(a, an)`` and ``(b, bn)``,
Expand Down
12 changes: 3 additions & 9 deletions doc/source/fmpq_poly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -586,11 +586,9 @@ Scalar multiplication and division
Supports aliasing of ``(rpoly, den)`` and ``(poly, den)``.
The ``fmpz_t``'s `r` and `s` may not be part of ``(rpoly, rden)``.

.. function:: void fmpq_poly_scalar_mul_si(fmpq_poly_t rop, const fmpq_poly_t op, slong c)

Sets ``rop`` to `c` times ``op``.

.. function:: void fmpq_poly_scalar_mul_ui(fmpq_poly_t rop, const fmpq_poly_t op, ulong c)
.. function:: void fmpq_poly_scalar_mul_fmpq(fmpq_poly_t rop, const fmpq_poly_t op, const fmpq_t c)
void fmpq_poly_scalar_mul_si(fmpq_poly_t rop, const fmpq_poly_t op, slong c)
void fmpq_poly_scalar_mul_ui(fmpq_poly_t rop, const fmpq_poly_t op, ulong c)

Sets ``rop`` to `c` times ``op``.

Expand All @@ -599,10 +597,6 @@ Scalar multiplication and division
Sets ``rop`` to `c` times ``op``. Assumes that the ``fmpz_t c``
is not part of ``rop``.

.. function:: void fmpq_poly_scalar_mul_mpq(fmpq_poly_t rop, const fmpq_poly_t op, const fmpq_t c)

Sets ``rop`` to `c` times ``op``.

.. function:: void _fmpq_poly_scalar_div_fmpz(fmpz * rpoly, fmpz_t rden, const fmpz * poly, const fmpz_t den, slong len, const fmpz_t c)

Sets ``(rpoly, rden, len)`` to ``(poly, den, len)`` divided by `c`,
Expand Down
2 changes: 1 addition & 1 deletion doc/source/gr_mat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Arithmetic
.. function:: int gr_mat_sub(gr_mat_t res, const gr_mat_t mat1, const gr_mat_t mat2, gr_ctx_t ctx)

.. function:: int gr_mat_mul_classical(gr_mat_t res, const gr_mat_t mat1, const gr_mat_t mat2, gr_ctx_t ctx)
int gr_mat_mul_strassen(gr_mat_t C, const gr_mat_t A, const gr_mat_t B, gr_ctx_t ctx);
int gr_mat_mul_strassen(gr_mat_t C, const gr_mat_t A, const gr_mat_t B, gr_ctx_t ctx)
int gr_mat_mul_generic(gr_mat_t C, const gr_mat_t A, const gr_mat_t B, gr_ctx_t ctx)
int gr_mat_mul(gr_mat_t res, const gr_mat_t mat1, const gr_mat_t mat2, gr_ctx_t ctx)

Expand Down

0 comments on commit 6ddc269

Please sign in to comment.