FLINT3.7.0-dev

fmpz_mpoly_remainder_test, fmpz_mpoly_remainder_strongtest

Synopsis#include <flint/fmpz_mpoly.h>
void fmpz_mpoly_remainder_test(const fmpz_mpoly_t r, const fmpz_mpoly_t g, const fmpz_mpoly_ctx_t ctx)source
void fmpz_mpoly_remainder_strongtest(const fmpz_mpoly_t r, const fmpz_mpoly_t g, const fmpz_mpoly_ctx_t ctx)source

Consistency checks for the test suite: throw FLINT_ERROR if rr is not a valid remainder for division by the nonzero gg, that is, if a term of rr divisible by lm⁡(g)\operatorname{lm}(g) has a coefficient of absolute value at least ∣lc⁡(g)∣|\operatorname{lc}(g)| (first version), or if any term of rr is divisible by lm⁡(g)\operatorname{lm}(g) at all (second version, for quasi-division).

Cite this page

The FLINT team, “fmpz_mpoly_remainder_test, fmpz_mpoly_remainder_strongtest (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_remainder_test.html (generated 2026-11-02).