FLINT3.7.0-dev

_unity_zp, unity_zp

Synopsis#include <flint/aprcl.h>
_unity_zp
unity_zp

An element of Z[ζpk]/(n)\mathbb{Z}[\zeta_{p^k}]/(n), represented by an fmpz_mod_poly_t (field poly) together with pp (p), kk (exp) and the modulus context ctx. The polynomial is reduced modulo xpk−1x^{p^k} - 1, and modulo the cyclotomic polynomial Φpk\Phi_{p^k} after unity_zp_reduce_cyclotomic. Unless stated otherwise, the operands of a function must have been initialised with the same pp, kk and nn.

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-11-02).