FLINT3.7.0-dev

fmpz_mod_poly_make_monic_f

Synopsis#include <flint/fmpz_mod_poly.h>
void fmpz_mod_poly_make_monic_f(fmpz_t f, fmpz_mod_poly_t res, const fmpz_mod_poly_t poly, const fmpz_mod_ctx_t ctx)source

Either sets f = 1 and res to poly made monic, or sets f to a nontrivial factor of n (the gcd of n with the leading coefficient) and leaves res undefined.

Cite this page

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