FLINT3.7.0-dev

fq_nmod_mat_swap

Synopsis#include <flint/fq_nmod_mat.h>
void fq_nmod_mat_swap(fq_nmod_mat_t mat1, fq_nmod_mat_t mat2, const fq_nmod_ctx_t ctx)

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

Generated from the same template as fq_mat_swap, whose documentation has the details.

Cite this page

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