FLINT3.7.0-dev

nmod_poly_equal_trunc

Synopsis#include <flint/nmod_poly.h>
int nmod_poly_equal_trunc(const nmod_poly_t poly1, const nmod_poly_t poly2, slong n)source

Returns whether poly1 and poly2 agree modulo x^n. A negative n is treated as 0.

Cite this page

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