FLINT3.7.0-dev

_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).