_gr_vec_sum_parallel, _gr_vec_product_parallel
Synopsis
#include <flint/gr_vec.h>Split the array into one chunk per available thread, compute the chunks in parallel with _gr_vec_sum or _gr_vec_product, and combine the partial results. The number of threads is at most flint_get_num_threads() and at most \mathit{len}/2.
Cite this page
The FLINT team, “_gr_vec_sum_parallel, _gr_vec_product_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_parallel.html (generated 2026-10-20).
@misc{flint-doc-gr-vec-gr-vec-sum-parallel,
author = {{The FLINT team}},
title = {{\_gr\_vec\_sum\_parallel, \_gr\_vec\_product\_parallel (gr\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_vec/_gr_vec_sum_parallel.html},
note = {Generated 2026-10-20}
}