FLINT3.7.0-dev

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)source
void unity_zp_mpn_clear(unity_zp_mpn f)source

Initialise 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).