fmpq_mat_det
Synopsis
#include <flint/fmpq_mat.h>void fmpq_mat_det(fmpq_t det, const fmpq_mat_t mat)sourceSets det to the determinant of the square matrix mat. For dimensions up to 2 an explicit formula is used; otherwise the denominators of the rows are cleared, giving \operatorname{diag}(d_i) \cdot \mathit{mat}, and the determinant of that integer matrix (fmpz_mat_det) is divided by \prod_i d_i.
Cite this page
The FLINT team, “fmpq_mat_det (fmpq_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mat/fmpq_mat_det.html (generated 2026-10-20).
@misc{flint-doc-fmpq-mat-fmpq-mat-det,
author = {{The FLINT team}},
title = {{fmpq\_mat\_det (fmpq\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mat/fmpq_mat_det.html},
note = {Generated 2026-10-20}
}