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