_fq_poly_add, _fq_poly_sub
Synopsis
#include <flint/fq_poly.h>void _fq_poly_add(fq_struct * res, const fq_struct * poly1, slong len1, const fq_struct * poly2, slong len2, const fq_ctx_t ctx)void _fq_poly_sub(fq_struct * res, const fq_struct * poly1, slong len1, const fq_struct * poly2, slong len2, const fq_ctx_t ctx)Set (res, max(len1, len2)) to the sum, respectively the difference, of the two arrays. Aliasing of res with the inputs is allowed.
Cite this page
The FLINT team, “_fq_poly_add, _fq_poly_sub (fq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_poly/_fq_poly_add.html (generated 2026-10-20).
@misc{flint-doc-fq-poly-fq-poly-add,
author = {{The FLINT team}},
title = {{\_fq\_poly\_add, \_fq\_poly\_sub (fq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_poly/_fq_poly_add.html},
note = {Generated 2026-10-20}
}