FLINT3.7.0-dev

gr_ctx_init_matrix_domain

Synopsis#include <flint/gr.h>
void gr_ctx_init_matrix_domain(gr_ctx_t ctx, gr_ctx_t base_ring)source

Initialises ctx to the set of matrices of any shape over base_ring, with elements of type gr_mat_struct. Operations on matrices of incompatible shapes return GR_DOMAIN, as does gr_one, since there is no single identity.

Cite this page

The FLINT team, “gr_ctx_init_matrix_domain (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_domain.html (generated 2026-10-20).