FLINT3.7.0-dev

fmpz_mpoly_equal, _fmpz_mpoly_equal

Synopsis#include <flint/fmpz_mpoly.h>
int fmpz_mpoly_equal(const fmpz_mpoly_t A, const fmpz_mpoly_t B, const fmpz_mpoly_ctx_t ctx)source
int _fmpz_mpoly_equal(fmpz * poly1, ulong * exps1, const fmpz * poly2, const ulong * exps2, slong n, slong N)source

Return whether A and B are equal. The polynomials may be packed with different widths. The underscore version compares n terms with monomials of N words.

Guides#

Cite this page

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