FLINT3.7.0-dev

fmpz_mat_gram

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_gram(fmpz_mat_t B, const fmpz_mat_t A)source

Sets 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).