FLINT3.7.0-dev

fmpz_poly_mat_swap, fmpz_poly_mat_swap_entrywise

Synopsis#include <flint/fmpz_poly_mat.h>
void fmpz_poly_mat_swap(fmpz_poly_mat_t mat1, fmpz_poly_mat_t mat2)source
void fmpz_poly_mat_swap_entrywise(fmpz_poly_mat_t mat1, fmpz_poly_mat_t mat2)source

Swaps two matrices in constant time by swapping their structs (not for windows), respectively swaps the entries of two matrices of the same dimensions one by one.

Cite this page

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