FLINT3.7.0-dev

nmod_mpoly_mul_array, nmod_mpoly_mul_array_threaded

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_mul_array(nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_t C, const nmod_mpoly_ctx_t ctx)source
int nmod_mpoly_mul_array_threaded(nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_t C, const nmod_mpoly_ctx_t ctx)source

Try to set A to B C by accumulating the products in a dense array indexed by the exponents (by the exponents bounded by the degrees for ORD_LEX, by the total degree for the degree orderings). Return 0 without changing A if the array would be too large or the exponents need more than one word. The first version uses one thread.

Cite this page

The FLINT team, “nmod_mpoly_mul_array, nmod_mpoly_mul_array_threaded (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_array.html (generated 2026-10-20).