FLINT3.7.0-dev

bool_mat_swap

Synopsis#include <flint/bool_mat.h>
void bool_mat_swap(bool_mat_t mat1, bool_mat_t mat2)source

Swaps the two matrices, including their dimensions, in constant time.

Cite this page

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