nmod_mat_invert_rows, nmod_mat_invert_cols
Synopsis
#include <flint/nmod_mat.h>void nmod_mat_invert_rows(nmod_mat_t mat, slong * perm)sourcevoid nmod_mat_invert_cols(nmod_mat_t mat, slong * perm)sourceReverses the order of the rows (columns) of mat, that is, swaps rows (columns) i and r - 1 - i for 0 \le i < r/2, where r is the number of rows (columns). If perm is not NULL, the same permutation is applied to it.
Cite this page
The FLINT team, “nmod_mat_invert_rows, nmod_mat_invert_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_invert_rows.html (generated 2026-10-20).
@misc{flint-doc-nmod-mat-nmod-mat-invert-rows,
author = {{The FLINT team}},
title = {{nmod\_mat\_invert\_rows, nmod\_mat\_invert\_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_invert_rows.html},
note = {Generated 2026-10-20}
}