nf_elem_mod_fmpz_den, nf_elem_smod_fmpz_den
Synopsis
#include <flint/nf_elem.h>void nf_elem_mod_fmpz_den(nf_elem_t res, const nf_elem_t a, const fmpz_t mod, const nf_t nf, int den)sourcevoid nf_elem_smod_fmpz_den(nf_elem_t res, const nf_elem_t a, const fmpz_t mod, const nf_t nf, int den)sourceIf den is zero, set res to the integral element with the coefficients of reduced modulo . If den is nonzero, set res to , where is the numerator of reduced modulo , so that is integral with coefficients divisible by . The mod versions use the residues in (or ), the smod versions the symmetric residues.
Cite this page
The FLINT team, “nf_elem_mod_fmpz_den, nf_elem_smod_fmpz_den (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_den.html (generated 2026-11-02).
@misc{flint-doc-nf-elem-nf-elem-mod-fmpz-den,
author = {{The FLINT team}},
title = {{nf\_elem\_mod\_fmpz\_den, nf\_elem\_smod\_fmpz\_den (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_den.html},
note = {Generated 2026-11-02}
}