FLINT3.7.0-dev

fq_poly_divrem

Synopsis#include <flint/fq_poly.h>
void fq_poly_divrem(fq_poly_t Q, fq_poly_t R, const fq_poly_t A, const fq_poly_t B, const fq_ctx_t ctx)

Computes QQ and RR with A=BQ+RA = BQ + R and deg⁡R<deg⁡B\deg R < \deg B. BB must be nonzero. If deg⁡A<deg⁡B\deg A < \deg B, then Q=0Q = 0 and R=AR = A.

Cite this page

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