FLINT3.7.0-dev

_fmpz_mpoly_divides_array, _fmpz_mpoly_divrem_array

Synopsis#include <flint/fmpz_mpoly.h>
slong _fmpz_mpoly_divides_array(fmpz ** poly1, ulong ** exp1, slong * alloc, const fmpz * poly2, const ulong * exp2, slong len2, const fmpz * poly3, const ulong * exp3, slong len3, slong * mults, slong num, slong bits)source
slong _fmpz_mpoly_divrem_array(slong * lenr, fmpz ** polyq, ulong ** expq, slong * allocq, fmpz ** polyr, ulong ** expr, slong * allocr, const fmpz * poly2, const ulong * exp2, slong len2, const fmpz * poly3, const ulong * exp3, slong len3, slong * mults, slong num, slong bits)source

Array division on raw term lists with one-word monomials in num fields of bits bits, using the bases mults for the tight packing of the array index. The first returns the length of the quotient if the division is exact and 0 otherwise; the second returns the length of the quotient and sets *lenr. No aliasing is allowed.

Cite this page

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