nmod_redc_ctx_struct, nmod_redc_ctx_t
Synopsis
#include <flint/nmod.h>nmod_redc_ctx_structnmod_redc_ctx_tA context for Montgomery arithmetic. The field mod is an ordinary nmod_t for n, used for conversions and for addition, and nred is -n^{-1} \bmod R. The context needs no clearing.
Guides#
Cite this page
The FLINT team, “nmod_redc_ctx_struct, nmod_redc_ctx_t (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/nmod_redc_ctx_struct.html (generated 2026-10-20).
@misc{flint-doc-nmod-nmod-redc-ctx-struct,
author = {{The FLINT team}},
title = {{nmod\_redc\_ctx\_struct, nmod\_redc\_ctx\_t (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_ctx_struct.html},
note = {Generated 2026-10-20}
}