FLINT3.7.0-dev

fq_mat_swap

Synopsis#include <flint/fq_mat.h>
void fq_mat_swap(fq_mat_t mat1, fq_mat_t mat2, const fq_ctx_t ctx)

Swaps the two matrices by swapping their structures; the dimensions may differ. Not for windows.

Cite this page

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