_nf_elem_mod_fmpz
Synopsis
#include <flint/nf_elem.h>void _nf_elem_mod_fmpz(nf_elem_t res, const nf_elem_t a, const fmpz_t mod, const nf_t nf, int sign)sourceSets res to the integral element whose coefficients are those of the numerator of a reduced modulo m = mod, ignoring the denominator, in [0, m) if sign is zero and in the symmetric range otherwise.
Cite this page
The FLINT team, “_nf_elem_mod_fmpz (nf_elem.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nf_elem/_nf_elem_mod_fmpz.html (generated 2026-10-20).
@misc{flint-doc-nf-elem-nf-elem-mod-fmpz,
author = {{The FLINT team}},
title = {{\_nf\_elem\_mod\_fmpz (nf\_elem.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nf_elem/_nf_elem_mod_fmpz.html},
note = {Generated 2026-10-20}
}