FLINT3.7.0-dev

_fq_zech_poly_divrem_f, fq_zech_poly_divrem_f

Synopsis#include <flint/fq_zech_poly.h>
void _fq_zech_poly_divrem_f(fq_zech_t f, fq_zech_struct * Q, fq_zech_struct * R, const fq_zech_struct * A, slong lenA, const fq_zech_struct * B, slong lenB, const fq_zech_ctx_t ctx)
void fq_zech_poly_divrem_f(fq_zech_t f, fq_zech_poly_t Q, fq_zech_poly_t R, const fq_zech_poly_t A, const fq_zech_poly_t B, const fq_zech_ctx_t ctx)

As fq_zech_poly_divrem, for a possibly reducible defining polynomial: if the leading coefficient of B is invertible, sets f = 1 and computes Q and R; otherwise sets f to a nontrivial factor of the defining polynomial (see fq_zech_gcdinv) and leaves Q and R unchanged. B must be nonzero.

Generated from the same template as _fq_poly_divrem_f, whose documentation has the details.

Cite this page

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