FLINT3.7.0-dev

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)source
void fmpz_mat_set_nmod_mat_unsigned(fmpz_mat_t A, const nmod_mat_t Amod)source

Sets AA to the integer matrix congruent to Amod modulo its modulus nn with entries in (−n/2,n/2](-n/2, n/2], respectively in [0,n)[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-11-02).