FLINT3.7.0-dev

padic_mat_swap

Synopsis#include <flint/padic_mat.h>
void padic_mat_swap(padic_mat_t A, padic_mat_t B)source

Swaps A and B, including dimensions, valuations and precisions, in constant time.

Cite this page

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