fq_mat_set_nmod_mat, fq_mat_set_fmpz_mod_mat
Synopsis
#include <flint/fq_mat.h>void fq_mat_set_nmod_mat(fq_mat_t mat1, const nmod_mat_t mat2, const fq_ctx_t ctx)void fq_mat_set_fmpz_mod_mat(fq_mat_t mat1, const fmpz_mod_mat_t mat2, const fq_ctx_t ctx)Set mat1 to the image of the matrix mat2 over \mathbb{F}_p (or over \mathbb{Z}/n\mathbb{Z}, whose entries are mapped to \mathbb{F}_p by reduction) in \mathbb{F}_q. The dimensions must agree.
Cite this page
The FLINT team, “fq_mat_set_nmod_mat, fq_mat_set_fmpz_mod_mat (fq_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_mat/fq_mat_set_nmod_mat.html (generated 2026-10-20).
@misc{flint-doc-fq-mat-fq-mat-set-nmod-mat,
author = {{The FLINT team}},
title = {{fq\_mat\_set\_nmod\_mat, fq\_mat\_set\_fmpz\_mod\_mat (fq\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_mat/fq_mat_set_nmod_mat.html},
note = {Generated 2026-10-20}
}