FLINT3.7.0-dev

fmpz_mat_swap_entrywise

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_swap_entrywise(fmpz_mat_t mat1, fmpz_mat_t mat2)source

Swaps the entries of two matrices of the same dimensions one by one, in time linear in the number of entries. This works for windows.

Cite this page

The FLINT team, “fmpz_mat_swap_entrywise (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_entrywise.html (generated 2026-10-20).