FLINT3.7.0-dev

fmpz_mat_content

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_content(fmpz_t ret, const fmpz_mat_t A)source

Sets ret to the nonnegative greatest common divisor of the entries of AA, which is 0 if AA is zero or empty. The rows are passed in turn to _fmpz_vec_content_chained, stopping when the GCD becomes 1.

Guides#

Cite this page

The FLINT team, “fmpz_mat_content (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_content.html (generated 2026-11-02).