FLINT3.7.0-dev

mpoly_divide_threads

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

Returns mm with 0≤m<n0 \le m < n such that (m+1)/(n−m)(m + 1)/(n - m) is close to la/lb\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 nn 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-11-02).