fmpz_mat_swap
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_swap(fmpz_mat_t mat1, fmpz_mat_t mat2)sourceSwaps mat1 and mat2 in constant time by swapping their structs. Must not be used with windows.
Guides#
Cite this page
The FLINT team, “fmpz_mat_swap (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_swap.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-swap,
author = {{The FLINT team}},
title = {{fmpz\_mat\_swap (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_swap.html},
note = {Generated 2026-10-20}
}