Skip to content

Commit

Permalink
Merge pull request #1425 from havarddj/patch-1
Browse files Browse the repository at this point in the history
documentation fix in qfb.rst
  • Loading branch information
fredrik-johansson committed Sep 28, 2023
2 parents 0291bd4 + a189b7c commit 72ff155
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions doc/source/qfb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,14 @@ Computing with forms

.. function:: void qfb_reduce(qfb_t r, qfb_t f, fmpz_t D)

Set `r` to the reduced form equivalent to the binary quadratic form `f`
of discriminant `D`.
Set `r` to a reduced form equivalent to the binary quadratic form `f`
of discriminant `D`. If `D > 0`, then there can be more than one reduced
form equivalent to `f`.

.. function:: int qfb_is_reduced(qfb_t r)

Returns `1` if `q` is a reduced binary quadratic form. Otherwise returns
`1`.
`0`.

.. function:: slong qfb_reduced_forms(qfb ** forms, slong d)

Expand Down Expand Up @@ -120,12 +121,12 @@ Computing with forms
`L = \lfloor |D|^{1/4} \rfloor` where `D` is the common discriminant of
`f` and `g`. The result is returned in `r`.

We require that that `f` is a primitive form.
We require that `f` is a primitive form.

.. function:: void qfb_nudupl(qfb_t r, const qfb_t f, fmpz_t D, fmpz_t L)

As for \code{nucomp} except that the form `f` is composed with itself.
We require that that `f` is a primitive form.
We require that `f` is a primitive form.

.. function:: void qfb_pow_ui(qfb_t r, qfb_t f, fmpz_t D, ulong exp)

Expand All @@ -146,7 +147,7 @@ Computing with forms
.. function:: int qfb_is_principal_form(qfb_t f, fmpz_t D)

Return `1` if `f` is the reduced principal form of discriminant `D`,
i.e. the identity in the form class group.
i.e. the identity in the form class group, else `0`.

.. function:: void qfb_principal_form(qfb_t f, fmpz_t D)

Expand Down

0 comments on commit 72ff155

Please sign in to comment.