FLINT3.7.0-dev

gr_ctx_init_matrix_space, gr_ctx_init_matrix_ring

Synopsis#include <flint/gr.h>
void gr_ctx_init_matrix_space(gr_ctx_t ctx, gr_ctx_t base_ring, slong nrows, slong ncols)source
void gr_ctx_init_matrix_ring(gr_ctx_t ctx, gr_ctx_t base_ring, slong n)source

Initialise ctx to the space of nrows by ncols matrices over base_ring, respectively the ring M_n(R) of n \times n matrices, with elements of type gr_mat_struct.

Cite this page

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