FLINT3.7.0-dev

nmod_mpoly_resultant_kronecker

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_resultant_kronecker(nmod_mpoly_t R, const nmod_mpoly_t A, const nmod_mpoly_t B, slong var, const nmod_mpoly_ctx_t ctx)source

Tries to set R to the resultant of A and B 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 evaluating that variable at many points and interpolating (Bivariate resultants by evaluation and interpolation). Returns 1 for success, and 0, leaving R unchanged, if an input has exponents of more than one word or degree 0 in the variable of index var, if the dense box of the resultant has more than 2322^{32} coefficients, or if the field has too few elements for that many evaluation points. The modulus must be prime.

Cite this page

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