FLINT3.7.0-dev

fq_nmod_set, fq_nmod_swap, fq_nmod_zero, fq_nmod_one, fq_nmod_gen

Synopsis#include <flint/fq_nmod.h>
void fq_nmod_set(fq_nmod_t rop, const fq_nmod_t op, const fq_nmod_ctx_t ctx)source
void fq_nmod_swap(fq_nmod_t op1, fq_nmod_t op2, const fq_nmod_ctx_t ctx)source
void fq_nmod_zero(fq_nmod_t rop, const fq_nmod_ctx_t ctx)source
void fq_nmod_one(fq_nmod_t rop, const fq_nmod_ctx_t ctx)source
void fq_nmod_gen(fq_nmod_t rop, const fq_nmod_ctx_t ctx)source

Copy, swap, and set to 0, 1 or the generator (the class of x, or the root of the defining polynomial if d = 1), as fq_set, fq_swap, fq_zero, fq_one and fq_gen.

Cite this page

The FLINT team, “fq_nmod_set, fq_nmod_swap, fq_nmod_zero, fq_nmod_one, fq_nmod_gen (fq_nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod/fq_nmod_set.html (generated 2026-10-20).