FLINT3.7.0-dev

_gr_vec_sum_bsplit_parallel, _gr_vec_product_bsplit_parallel

Synopsis#include <flint/gr_vec.h>
int _gr_vec_sum_bsplit_parallel(gr_ptr res, gr_srcptr vec, slong len, slong basecase_cutoff, gr_ctx_t ctx)source
int _gr_vec_product_bsplit_parallel(gr_ptr res, gr_srcptr vec, slong len, slong basecase_cutoff, gr_ctx_t ctx)source

Binary splitting with the recursion distributed over threads with flint_parallel_binary_splitting; the ring must be thread-safe.

Cite this page

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