FLINT3.7.0-dev

mpoly_divide_threads

Synopsis#include <flint/mpoly.h>
slong mpoly_divide_threads(slong n, double la, double lb)source

Returns m with 0 \le m < n such that (m + 1)/(n - m) is close to \mathit{la}/\mathit{lb}: the number of threads (besides the calling one) to give to the first of two independent tasks of sizes la and lb when n threads are available.

Cite this page

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