bernoulli_fmpq_vec_no_cache
Synopsis
#include <flint/bernoulli.h>Sets res to the num consecutive Bernoulli numbers , without reading or writing the cache. To reuse a vector, use bernoulli_cache_compute and bernoulli_fmpq_ui instead. Throws if or .
For and the function calls arith_bernoulli_number_vec. Otherwise it runs reverse iterators over blocks of indices; for the blocks (of size about , at least 128) are distributed over the threads of flint_set_num_threads. The function is not optimised for small num at large , where each block costs about as much as alone.
Cite this page
The FLINT team, “bernoulli_fmpq_vec_no_cache (bernoulli.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/bernoulli/bernoulli_fmpq_vec_no_cache.html (generated 2026-11-02).
@misc{flint-doc-bernoulli-bernoulli-fmpq-vec-no-cache,
author = {{The FLINT team}},
title = {{bernoulli\_fmpq\_vec\_no\_cache (bernoulli.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/bernoulli/bernoulli_fmpq_vec_no_cache.html},
note = {Generated 2026-11-02}
}