fq_nmod_mat_swap_rows, fq_nmod_mat_swap_cols
Synopsis
#include <flint/fq_nmod_mat.h>void fq_nmod_mat_swap_rows(fq_nmod_mat_t mat, slong * perm, slong r, slong s, const fq_nmod_ctx_t ctx)void fq_nmod_mat_swap_cols(fq_nmod_mat_t mat, slong * perm, slong r, slong s, const fq_nmod_ctx_t ctx)Swap rows, respectively columns, r and s of mat. If perm is not NULL, its entries r and s are swapped as well, so that it records the permutation.
Generated from the same template as fq_mat_swap_rows, whose documentation has the details.
Cite this page
The FLINT team, “fq_nmod_mat_swap_rows, fq_nmod_mat_swap_cols (fq_nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_mat/fq_nmod_mat_swap_rows.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-mat-fq-nmod-mat-swap-rows,
author = {{The FLINT team}},
title = {{fq\_nmod\_mat\_swap\_rows, fq\_nmod\_mat\_swap\_cols (fq\_nmod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod_mat/fq_nmod_mat_swap_rows.html},
note = {Generated 2026-10-20}
}