FLINT3.7.0-dev

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)source

Initialises 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).