fmpz_mat_set_nmod_mat, fmpz_mat_set_nmod_mat_unsigned
Synopsis
#include <flint/fmpz_mat.h>void fmpz_mat_set_nmod_mat(fmpz_mat_t A, const nmod_mat_t Amod)sourcevoid fmpz_mat_set_nmod_mat_unsigned(fmpz_mat_t A, const nmod_mat_t Amod)sourceSets A to the integer matrix congruent to Amod modulo its modulus n with entries in (-n/2, n/2], respectively in [0, n).
Cite this page
The FLINT team, “fmpz_mat_set_nmod_mat, fmpz_mat_set_nmod_mat_unsigned (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_set_nmod_mat.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mat-fmpz-mat-set-nmod-mat,
author = {{The FLINT team}},
title = {{fmpz\_mat\_set\_nmod\_mat, fmpz\_mat\_set\_nmod\_mat\_unsigned (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_set_nmod_mat.html},
note = {Generated 2026-10-20}
}