FLINT3.7.0-dev

_fmpz_poly_div_basecase, fmpz_poly_div_basecase

Synopsis#include <flint/fmpz_poly.h>
int _fmpz_poly_div_basecase(fmpz * Q, fmpz * R, const fmpz * A, slong lenA, const fmpz * B, slong lenB, int exact)source
void fmpz_poly_div_basecase(fmpz_poly_t Q, const fmpz_poly_t A, const fmpz_poly_t B)source

Quotient by the schoolbook algorithm, with the semantics of fmpz_poly_div; only the coefficients of the remainder that are needed for the quotient are updated. The underscore version takes a temporary array R of length lenA, or NULL to allocate one; R may be equal to A; no other aliasing is allowed.

Cite this page

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