FLINT3.7.0-dev

fmpz_mpoly_resultant_kronecker

Synopsis#include <flint/fmpz_mpoly.h>
int fmpz_mpoly_resultant_kronecker(fmpz_mpoly_t R, const fmpz_mpoly_t A, const fmpz_mpoly_t B, slong var, const fmpz_mpoly_ctx_t ctx)source

Tries to set RR to the resultant of AA and BB with respect to the variable of index var by packing the other variables into one by Kronecker substitution, after removing monomial factors and deflating, and computing the bivariate resultant by a dense multimodular algorithm (fmpz_bpoly_resultant, which uses the evaluation and interpolation algorithm of Bivariate resultants by evaluation and interpolation modulo each prime). Returns 1 for success, and 0, leaving RR unchanged, if an input has exponents of more than one word or degree 0 in the variable of index var, or if the dense box of the resultant has more than 2282^{28} coefficients.

Cite this page

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