_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)sourceslong _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)sourceArray 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).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-divides-array,
author = {{The FLINT team}},
title = {{\_fmpz\_mpoly\_divides\_array, \_fmpz\_mpoly\_divrem\_array (fmpz\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly/_fmpz_mpoly_divides_array.html},
note = {Generated 2026-10-20}
}