fmpz_mat_gram
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_gram(fmpz_mat_t B, const fmpz_mat_t A)sourceSets B to the Gram matrix AA^T of the rows of the m \times n matrix A; B must be m \times m, and may be A if A is square. Throws if the dimensions are wrong.
Cite this page
The FLINT team, “fmpz_mat_gram (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_gram.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-gram,
author = {{The FLINT team}},
title = {{fmpz\_mat\_gram (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_gram.html},
note = {Generated 2026-10-20}
}