FLINT3.7.0-dev

_fmpz_mpoly_divides_monagan_pearce

Synopsis#include <flint/fmpz_mpoly.h>
slong _fmpz_mpoly_divides_monagan_pearce(fmpz ** poly1, ulong ** exp1, slong * alloc, const fmpz * poly2, const ulong * exp2, slong len2, const fmpz * poly3, const ulong * exp3, slong len3, flint_bitcnt_t bits, slong N, const ulong * cmpmask)source

Exact division of nonzero raw term lists with monomials of N words packed with bits bits: writes the quotient to (*poly1, *exp1) with allocation *alloc, reallocating as needed, and returns its length if the division is exact and 0 otherwise. No aliasing is allowed.

Cite this page

The FLINT team, “_fmpz_mpoly_divides_monagan_pearce (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_monagan_pearce.html (generated 2026-10-20).