FLINT3.7.0-dev

padic_mat_swap_entrywise

Synopsis#include <flint/padic_mat.h>
void padic_mat_swap_entrywise(padic_mat_t mat1, padic_mat_t mat2)source

Swaps the entries of the integer matrices of mat1 and mat2, which must have the same dimensions, one by one. The valuations and precisions are not swapped, so the result is meaningful only if they agree.

Cite this page

The FLINT team, “padic_mat_swap_entrywise (padic_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/padic_mat/padic_mat_swap_entrywise.html (generated 2026-10-20).