nmod_redc_half_ctx_init_nmod, nmod_redc_half_ctx_init_ui
Synopsis
#include <flint/nmod.h>void nmod_redc_half_ctx_init_nmod(nmod_redc_ctx_t ctx, nmod_t mod)sourcevoid nmod_redc_half_ctx_init_ui(nmod_redc_ctx_t ctx, ulong n)sourceInitialise ctx for the half functions modulo n, which must be odd with n < 2^{\mathtt{FLINT\_BITS}/2 - 1}.
Guides#
Cite this page
The FLINT team, “nmod_redc_half_ctx_init_nmod, nmod_redc_half_ctx_init_ui (nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod/nmod_redc_half_ctx_init_nmod.html (generated 2026-10-20).
@misc{flint-doc-nmod-nmod-redc-half-ctx-init-nmod,
author = {{The FLINT team}},
title = {{nmod\_redc\_half\_ctx\_init\_nmod, nmod\_redc\_half\_ctx\_init\_ui (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_half_ctx_init_nmod.html},
note = {Generated 2026-10-20}
}