FLINT3.7.0-dev

fmpq_mat_permanent

Synopsis#include <flint/fmpq_mat.h>
int fmpq_mat_permanent(fmpq_t res, const fmpq_mat_t A)source

Sets res to the permanent of the square matrix A, computed like the determinant with fmpz_mat_permanent after clearing denominators row by row, and returns 1.

Cite this page

The FLINT team, “fmpq_mat_permanent (fmpq_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mat/fmpq_mat_permanent.html (generated 2026-10-20).