FLINT3.7.0-dev

acb_mat_swap, acb_mat_swap_entrywise

Synopsis#include <flint/acb_mat.h>
void acb_mat_swap(acb_mat_t mat1, acb_mat_t mat2)source
void acb_mat_swap_entrywise(acb_mat_t mat1, acb_mat_t mat2)source

Swap two matrices. acb_mat_swap swaps the structures (also when the dimensions differ); acb_mat_swap_entrywise swaps the entries one by one and requires equal dimensions, which also works for windows.

Cite this page

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