From 3905b4aba9f39d2905a3324e23379f4c33aeb010 Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 25 May 2014 03:56:39 +0200 Subject: [PATCH] POLY: improve doxygen comments --- src/poly.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/poly.c b/src/poly.c index e78706d..d3b7049 100644 --- a/src/poly.c +++ b/src/poly.c @@ -152,6 +152,9 @@ void poly_delete_all(fmpz_poly_t *poly, ...) * so we don't have to deal with the intermediate * nmod_poly_t type if we don't need it. * + * This also normalises the coefficients to the interval + * 0 <= r < m. + * * @param a the polynom to apply the modulus to * @param mod the modulus */ @@ -174,6 +177,9 @@ void fmpz_poly_mod_unsigned(fmpz_poly_t a, * so we don't have to deal with the intermediate * nmod_poly_t type if we don't need it. * + * This also normalises the coefficients to the interval + * -m/2 <= r < m/2. + * * @param a the polynom to apply the modulus to * @param mod the modulus */