FLINT3.7.0-dev

unity_zpq_coeff_set_fmpz, unity_zpq_coeff_set_ui, unity_zpq_coeff_add, unity_zpq_coeff_add_ui

Synopsis#include <flint/aprcl.h>
void unity_zpq_coeff_set_fmpz(unity_zpq f, slong i, slong j, const fmpz_t x)source
void unity_zpq_coeff_set_ui(unity_zpq f, slong i, slong j, ulong x)source
void unity_zpq_coeff_add(unity_zpq f, slong i, slong j, const fmpz_t x)source
void unity_zpq_coeff_add_ui(unity_zpq f, slong i, slong j, ulong x)source

Set or add to the coefficient of \zeta_q^i \zeta_p^j, for i < q and j < p; the added x must be less than n.

Cite this page

The FLINT team, “unity_zpq_coeff_set_fmpz, unity_zpq_coeff_set_ui, unity_zpq_coeff_add, unity_zpq_coeff_add_ui (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/unity_zpq_coeff_set_fmpz.html (generated 2026-10-20).