nmod_mpoly_mul
Synopsis
#include <flint/nmod_mpoly.h>void nmod_mpoly_mul(nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_t C, const nmod_mpoly_ctx_t ctx)sourceSets A to B C. For short inputs it uses nmod_mpoly_mul_johnson. For larger inputs with one word per exponent it tries Kronecker substitution (nmod_mpoly_mul_dense) if the product is dense enough, then the array method (nmod_mpoly_mul_array) for 2 to 7 variables if the array is not too large and sparse, and otherwise the heap method; the array and heap methods use several threads when the inputs have more than about 512 terms per thread.
Guides#
Cite this page
The FLINT team, “nmod_mpoly_mul (nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_mul.html (generated 2026-10-20).
@misc{flint-doc-nmod-mpoly-nmod-mpoly-mul,
author = {{The FLINT team}},
title = {{nmod\_mpoly\_mul (nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_mul.html},
note = {Generated 2026-10-20}
}