FLINT3.7.0-dev

nmod_mpoly_divides_heap_threaded, _nmod_mpoly_divides_heap_threaded_pool

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_divides_heap_threaded(nmod_mpoly_t Q, const nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_ctx_t ctx)
int _nmod_mpoly_divides_heap_threaded_pool(nmod_mpoly_t Q, const nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_ctx_t ctx, const thread_pool_handle * handles, slong num_handles)

As nmod_mpoly_divides, using the heap and the available threads; the underscore version takes the thread handles. Only declared when the configuration knows that the target is strongly ordered (the macro nmod_mpoly_divides_heap_threaded is then defined); in that case nmod_mpoly_divides already uses it for large inputs.

Cite this page

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