FLINT3.7.0-dev

fq_mat_swap_rows, fq_mat_swap_cols

Synopsis#include <flint/fq_mat.h>
void fq_mat_swap_rows(fq_mat_t mat, slong * perm, slong r, slong s, const fq_ctx_t ctx)
void fq_mat_swap_cols(fq_mat_t mat, slong * perm, slong r, slong s, const fq_ctx_t ctx)

Swap rows, respectively columns, rr and ss of mat. If perm is not NULL, its entries rr and ss are swapped as well, so that it records the permutation.

Cite this page

The FLINT team, “fq_mat_swap_rows, fq_mat_swap_cols (fq_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_mat/fq_mat_swap_rows.html (generated 2026-11-02).