nmod_poly_mat_swap, nmod_poly_mat_swap_entrywise
Synopsis
#include <flint/nmod_poly_mat.h>void nmod_poly_mat_swap(nmod_poly_mat_t mat1, nmod_poly_mat_t mat2)sourcevoid nmod_poly_mat_swap_entrywise(nmod_poly_mat_t mat1, nmod_poly_mat_t mat2)sourceSwaps 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, “nmod_poly_mat_swap, nmod_poly_mat_swap_entrywise (nmod_poly_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_poly_mat/nmod_poly_mat_swap.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-mat-nmod-poly-mat-swap,
author = {{The FLINT team}},
title = {{nmod\_poly\_mat\_swap, nmod\_poly\_mat\_swap\_entrywise (nmod\_poly\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly_mat/nmod_poly_mat_swap.html},
note = {Generated 2026-10-20}
}