FLINT3.7.0-dev

fq_nmod_embed_gens

Synopsis#include <flint/fq_nmod_embed.h>
void fq_nmod_embed_gens(fq_nmod_t gen_sub, fq_nmod_t gen_sup, nmod_poly_t minpoly, const fq_nmod_ctx_t sub_ctx, const fq_nmod_ctx_t sup_ctx)

Given contexts for fields kk = sub_ctx of degree mm and KK = sup_ctx of degree nn with m∣nm \mid n, computes a generator gen_sub of kk over Fp\mathbb{F}_p, its minimal polynomial minpoly, and a root gen_sup of minpoly in KK. These data define the embedding k→Kk \to K that maps gen_sub to gen_sup.

Generated from the same template as fq_embed_gens, whose documentation has the details.

Cite this page

The FLINT team, “fq_nmod_embed_gens (fq_nmod_embed.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_embed/fq_nmod_embed_gens.html (generated 2026-11-02).