fmpz_mat_window_init
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_window_init(fmpz_mat_t window, const fmpz_mat_t mat, slong r1, slong c1, slong r2, slong c2)sourceInitialises window as the submatrix of mat formed by rows r_1 to r_2 - 1 and columns c_1 to c_2 - 1, where 0 \le r_1 \le r_2 \le mat->r and 0 \le c_1 \le c_2 \le mat->c. The window shares its entries with mat; no memory is allocated.
The bounds are checked only with FLINT_ASSERT.
Guides#
Cite this page
The FLINT team, “fmpz_mat_window_init (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_window_init.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-window-init,
author = {{The FLINT team}},
title = {{fmpz\_mat\_window\_init (fmpz\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mat/fmpz_mat_window_init.html},
note = {Generated 2026-10-20}
}