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 BB to the Gram matrix AATAA^T of the rows of the m×nm \times n matrix AA; BB must be m×mm \times m, and may be AA if AA 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-11-02).