FLINT3.7.0-dev

_fq_poly_rem, fq_poly_rem

Synopsis#include <flint/fq_poly.h>
void _fq_poly_rem(fq_struct * R, const fq_struct * A, slong lenA, const fq_struct * B, slong lenB, const fq_t invB, const fq_ctx_t ctx)
void fq_poly_rem(fq_poly_t R, const fq_poly_t A, const fq_poly_t B, const fq_ctx_t ctx)

Compute only the remainder R of the division of A by B \ne 0. The underscore version writes lenB - 1 coefficients and also accepts lenA < lenB; invB is not used.

Cite this page

The FLINT team, “_fq_poly_rem, fq_poly_rem (fq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_poly/_fq_poly_rem.html (generated 2026-10-20).