FLINT3.7.0-dev

gr_mat_clear

Synopsis#include <flint/gr_mat.h>
void gr_mat_clear(gr_mat_t mat, gr_ctx_t ctx)source

Clears the entries and frees the memory of mat. A window must be released with gr_mat_window_clear instead.

Guides#

Cite this page

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