FLINT3.7.0-dev

_fq_poly_make_monic, fq_poly_make_monic

Synopsis#include <flint/fq_poly.h>
void _fq_poly_make_monic(fq_struct * rop, const fq_struct * op, slong length, const fq_ctx_t ctx)
void fq_poly_make_monic(fq_poly_t rop, const fq_poly_t op, const fq_ctx_t ctx)

Set rop to op divided by its leading coefficient. The zero polynomial is mapped to zero; the underscore version requires a nonzero leading coefficient op[length - 1] and allows aliasing.

Cite this page

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