fmpz_mpoly_spoly
Synopsis
#include <flint/fmpz_mpoly.h>void fmpz_mpoly_spoly(fmpz_mpoly_t res, const fmpz_mpoly_t f, const fmpz_mpoly_t g, const fmpz_mpoly_ctx_t ctx)sourceSets res to the S-polynomial of f and g, scaled to integer coefficients: with L = \operatorname{lcm}(\operatorname{lm} f, \operatorname{lm} g) and c = \operatorname{lcm}(\operatorname{lc} f, \operatorname{lc} g), \frac{cL}{\operatorname{lt} f} f - \frac{cL}{\operatorname{lt} g} g.
Cite this page
The FLINT team, “fmpz_mpoly_spoly (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_spoly.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-spoly,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_spoly (fmpz\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_spoly.html},
note = {Generated 2026-10-20}
}