_gr_vec_reciprocals
Synopsis
#include <flint/gr_vec.h>Sets res to the reciprocals 1, 1/2, 1/3, \ldots, 1/\mathit{len} of the first len positive integers. The default stops at the first failure, so in \mathbb{Z}/n\mathbb{Z} it returns GR_DOMAIN if some k \le \mathit{len} is not invertible.
Cite this page
The FLINT team, “_gr_vec_reciprocals (gr_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_vec/_gr_vec_reciprocals.html (generated 2026-10-20).
@misc{flint-doc-gr-vec-gr-vec-reciprocals,
author = {{The FLINT team}},
title = {{\_gr\_vec\_reciprocals (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_reciprocals.html},
note = {Generated 2026-10-20}
}