FLINT3.7.0-dev

gr_mpoly_canonical_associate

Synopsis#include <flint/gr_mpoly.h>
int gr_mpoly_canonical_associate(gr_mpoly_t res, gr_mpoly_t u, const gr_mpoly_t poly, gr_mpoly_ctx_t ctx)source

Sets res to the canonical associate of poly: poly multiplied by the unit c that makes its leading coefficient canonical in the coefficient ring (gr_canonical_associate: monic over a field, positive over \mathbb{Z}). If u is not NULL it is set to c, so that \mathit{res} = u \cdot \mathit{poly}.

Cite this page

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