nmod_mat_swap
Synopsis
#include <flint/nmod_mat.h>void nmod_mat_swap(nmod_mat_t mat1, nmod_mat_t mat2)sourceSwaps mat1 and mat2 in constant time by swapping their structs. Must not be used with windows, whose entries belong to another matrix.
Cite this page
The FLINT team, “nmod_mat_swap (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.html (generated 2026-10-20).
@misc{flint-doc-nmod-mat-nmod-mat-swap,
author = {{The FLINT team}},
title = {{nmod\_mat\_swap (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.html},
note = {Generated 2026-10-20}
}