gr_mat_window_init, gr_mat_window_clear
Synopsis
#include <flint/gr_mat.h>void gr_mat_window_init(gr_mat_t window, const gr_mat_t mat, slong r1, slong c1, slong r2, slong c2, gr_ctx_t ctx)sourcegr_mat_window_init makes window the submatrix of mat formed by rows r_1 \le i < r_2 and columns c_1 \le j < c_2, sharing the entries of mat (writing to the window modifies mat). The indices must be within bounds. gr_mat_window_clear releases a window without touching the entries.
Cite this page
The FLINT team, “gr_mat_window_init, gr_mat_window_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_window_init.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-window-init,
author = {{The FLINT team}},
title = {{gr\_mat\_window\_init, gr\_mat\_window\_clear (gr\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mat/gr_mat_window_init.html},
note = {Generated 2026-10-20}
}