unity_zp_mpn_init, unity_zp_mpn_clear
Synopsis
#include <flint/aprcl.h>void unity_zp_mpn_init(unity_zp_mpn f, ulong p, ulong exp, gr_ctx_t ctx)sourcevoid unity_zp_mpn_clear(unity_zp_mpn f)sourceInitialise f as the zero element of \mathbb{Z}[\zeta_{p^{exp}}]/(n), where ctx is an mpn_mod context with modulus n (borrowed: it must outlive f), and free it.
Cite this page
The FLINT team, “unity_zp_mpn_init, unity_zp_mpn_clear (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/unity_zp_mpn_init.html (generated 2026-10-20).
@misc{flint-doc-aprcl-unity-zp-mpn-init,
author = {{The FLINT team}},
title = {{unity\_zp\_mpn\_init, unity\_zp\_mpn\_clear (aprcl.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/aprcl/unity_zp_mpn_init.html},
note = {Generated 2026-10-20}
}