FLINT3.7.0-dev

_unity_zp, unity_zp

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

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