unity_zp_mpn_set_zero, unity_zp_mpn_swap, unity_zp_mpn_copy, unity_zp_mpn_coeff_set_ui, unity_zp_mpn_set_unity_zp
Synopsis
#include <flint/aprcl.h>void unity_zp_mpn_set_zero(unity_zp_mpn f)sourcevoid unity_zp_mpn_swap(unity_zp_mpn f, unity_zp_mpn g)sourcevoid unity_zp_mpn_copy(unity_zp_mpn f, const unity_zp_mpn g)sourcevoid unity_zp_mpn_coeff_set_ui(unity_zp_mpn f, ulong ind, ulong x)sourcevoid unity_zp_mpn_set_unity_zp(unity_zp_mpn f, const unity_zp g)sourceSet to zero, swap, copy, set the coefficient of \zeta^{ind} to x (for any \mathit{ind} < p^{exp}, exponents of at least \varphi(p^{exp}) being folded by the cyclotomic relation), and convert from a unity_zp with the same p, k and n.
Cite this page
The FLINT team, “unity_zp_mpn_set_zero, unity_zp_mpn_swap, unity_zp_mpn_copy, unity_zp_mpn_coeff_set_ui, unity_zp_mpn_set_unity_zp (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/unity_zp_mpn_set_zero.html (generated 2026-10-20).
@misc{flint-doc-aprcl-unity-zp-mpn-set-zero,
author = {{The FLINT team}},
title = {{unity\_zp\_mpn\_set\_zero, unity\_zp\_mpn\_swap, unity\_zp\_mpn\_copy, unity\_zp\_mpn\_coeff\_set\_ui, unity\_zp\_mpn\_set\_unity\_zp (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_set_zero.html},
note = {Generated 2026-10-20}
}