FLINT3.7.0-dev

fmpq_mat_invert_rows, fmpq_mat_invert_cols

Synopsis#include <flint/fmpq_mat.h>
void fmpq_mat_invert_rows(fmpq_mat_t mat, slong * perm)source
void fmpq_mat_invert_cols(fmpq_mat_t mat, slong * perm)source

Reverses the order of the rows, respectively columns, of mat, and of the entries of perm if it is not NULL.

Cite this page

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