FLINT3.7.0-dev

fq_zech_set_ui, fq_zech_set_si, fq_zech_set_fmpz

Synopsis#include <flint/fq_zech.h>
void fq_zech_set_ui(fq_zech_t rop, const ulong x, const fq_zech_ctx_t ctx)source
void fq_zech_set_si(fq_zech_t rop, const slong x, const fq_zech_ctx_t ctx)source
void fq_zech_set_fmpz(fq_zech_t rop, const fmpz_t x, const fq_zech_ctx_t ctx)source

Set rop to the image of the integer x in \mathbb{F}_p, using the table of logarithms of the prime field.

Cite this page

The FLINT team, “fq_zech_set_ui, fq_zech_set_si, fq_zech_set_fmpz (fq_zech.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech/fq_zech_set_ui.html (generated 2026-10-20).