nmod_mat_swap_rows, nmod_mat_swap_cols
Synopsis
#include <flint/nmod_mat.h>void nmod_mat_swap_rows(nmod_mat_t mat, slong * perm, slong r, slong s)sourcevoid nmod_mat_swap_cols(nmod_mat_t mat, slong * perm, slong r, slong s)sourceSwaps rows (columns) r and s of mat. If perm is not NULL, entries r and s of the array perm are swapped as well.
Cite this page
The FLINT team, “nmod_mat_swap_rows, nmod_mat_swap_cols (nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mat/nmod_mat_swap_rows.html (generated 2026-10-20).
@misc{flint-doc-nmod-mat-nmod-mat-swap-rows,
author = {{The FLINT team}},
title = {{nmod\_mat\_swap\_rows, nmod\_mat\_swap\_cols (nmod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mat/nmod_mat_swap_rows.html},
note = {Generated 2026-10-20}
}