_fmpz_vec_content, _fmpz_vec_content_chained
Synopsis
#include <flint/fmpz_vec.h>Set res to the nonnegative GCD of the entries (0 for a zero or empty vector), respectively of the entries and inp, which allows the common content of several vectors to be accumulated; res may be aliased with inp or with an entry. The computation stops as soon as the GCD becomes
- See Contents and least common multiples of vectors for the algorithm.
Guides#
- Exact linear algebra over the integers (
fmpz_mat)
Cite this page
The FLINT team, “_fmpz_vec_content, _fmpz_vec_content_chained (fmpz_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_vec/_fmpz_vec_content.html (generated 2026-11-02).
@misc{flint-doc-fmpz-vec-fmpz-vec-content,
author = {{The FLINT team}},
title = {{\_fmpz\_vec\_content, \_fmpz\_vec\_content\_chained (fmpz\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_vec/_fmpz_vec_content.html},
note = {Generated 2026-11-02}
}