FLINT3.7.0-dev

_gr_poly_equal, gr_poly_equal

Synopsis#include <flint/gr_poly.h>
truth_t _gr_poly_equal(gr_srcptr poly1, slong len1, gr_srcptr poly2, slong len2, gr_ctx_t ctx)source
truth_t gr_poly_equal(const gr_poly_t poly1, const gr_poly_t poly2, gr_ctx_t ctx)source

Returns whether the two polynomials are equal, comparing the common coefficients and testing the extra coefficients of the longer one for zero. The underscore version requires \mathit{len1} \ge \mathit{len2}.

Cite this page

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