FLINT3.7.0-dev

n_bpoly_mod_make_primitive

Synopsis#include <flint/n_poly.h>
void n_bpoly_mod_make_primitive(n_poly_t g, n_bpoly_t A, nmod_t ctx)source

Sets g to the content of A in \mathbb{F}_p[y] and divides it out, then scales so that the leading coefficient of A (in x, then y) is 1, multiplying g by the old leading coefficient.

Cite this page

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