fq_zech_add, fq_zech_sub
Synopsis
#include <flint/fq_zech.h>void fq_zech_add(fq_zech_t rop, const fq_zech_t op1, const fq_zech_t op2, const fq_zech_ctx_t ctx)sourcevoid fq_zech_sub(fq_zech_t rop, const fq_zech_t op1, const fq_zech_t op2, const fq_zech_ctx_t ctx)sourceSet rop to \mathit{op1} \pm \mathit{op2}, with one lookup in the Zech table: g^i + g^j = g^{j + Z(i - j)}, and g^i - g^j = g^i + g^{j + (q-1)/2} for odd p.
Cite this page
The FLINT team, “fq_zech_add, fq_zech_sub (fq_zech.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech/fq_zech_add.html (generated 2026-10-20).
@misc{flint-doc-fq-zech-fq-zech-add,
author = {{The FLINT team}},
title = {{fq\_zech\_add, fq\_zech\_sub (fq\_zech.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_zech/fq_zech_add.html},
note = {Generated 2026-10-20}
}