_unity_zp, unity_zp
Synopsis
#include <flint/aprcl.h>_unity_zpunity_zpAn element of \mathbb{Z}[\zeta_{p^k}]/(n), represented by an fmpz_mod_poly_t (field poly) together with p (p), k (exp) and the modulus context ctx. The polynomial is reduced modulo x^{p^k} - 1, and modulo the cyclotomic polynomial \Phi_{p^k} after unity_zp_reduce_cyclotomic. Unless stated otherwise, the operands of a function must have been initialised with the same p, k and n.
Cite this page
The FLINT team, “_unity_zp, unity_zp (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/_unity_zp.html (generated 2026-10-20).
@misc{flint-doc-aprcl-unity-zp,
author = {{The FLINT team}},
title = {{\_unity\_zp, 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.html},
note = {Generated 2026-10-20}
}