FLINT3.7.0-dev

unity_zpq_init, unity_zpq_clear, unity_zpq_copy, unity_zpq_swap, unity_zpq_equal

Synopsis#include <flint/aprcl.h>
void unity_zpq_init(unity_zpq f, ulong q, ulong p, const fmpz_t n)source
void unity_zpq_clear(unity_zpq f)source
void unity_zpq_copy(unity_zpq f, const unity_zpq g)source
void unity_zpq_swap(unity_zpq f, unity_zpq g)source
int unity_zpq_equal(const unity_zpq f, const unity_zpq g)source

Initialise as zero, free, copy, swap and compare.

Cite this page

The FLINT team, “unity_zpq_init, unity_zpq_clear, unity_zpq_copy, unity_zpq_swap, unity_zpq_equal (aprcl.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/aprcl/unity_zpq_init.html (generated 2026-10-20).