nmod_redc_get_nmod
Synopsis
#include <flint/nmod.h>ulong nmod_redc_get_nmod(ulong x, const nmod_redc_ctx_t ctx)sourceReturns x R^{-1} \bmod n in [0, n), converting from Montgomery form. Any word x is accepted, in particular a lazy residue.
Guides#
Cite this page
The FLINT team, “nmod_redc_get_nmod (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/nmod_redc_get_nmod.html (generated 2026-10-20).
@misc{flint-doc-nmod-nmod-redc-get-nmod,
author = {{The FLINT team}},
title = {{nmod\_redc\_get\_nmod (nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod/nmod_redc_get_nmod.html},
note = {Generated 2026-10-20}
}